Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/libmakepkg/lint_pkgbuild/meson.build
blob: 6050df2fadf7b736c576bb5416c6decba5ade066 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
libmakepkg_module = 'lint_pkgbuild'

sources = [
  'arch.sh.in',
  'arch_specific.sh.in',
  'backup.sh.in',
  'changelog.sh.in',
  'checkdepends.sh.in',
  'conflicts.sh.in',
  'depends.sh.in',
  'epoch.sh.in',
  'fullpkgver.sh.in',
  'install.sh.in',
  'makedepends.sh.in',
  'optdepends.sh.in',
  'options.sh.in',
  'package_function.sh.in',
  'package_function_variable.sh.in',
  'pkgbase.sh.in',
  'pkglist.sh.in',
  'pkgname.sh.in',
  'pkgrel.sh.in',
  'pkgver.sh.in',
  'provides.sh.in',
  'source.sh.in',
  'util.sh.in',
  'variable.sh.in',
]

foreach src : sources
  output_dir = join_paths(get_option('datadir'), 'makepkg', libmakepkg_module)

  custom_target(
    libmakepkg_module + '_' + src.underscorify(),
    command : [ SCRIPT_EDITOR, '@INPUT@', '@OUTPUT@' ],
    input : src,
    output : '@BASENAME@',
    install : true,
    install_dir : output_dir)
endforeach