diff options
author | mar77i <mar77i@mar77i.ch> | 2016-09-03 13:28:48 +0200 |
---|---|---|
committer | mar77i <mar77i@mar77i.ch> | 2016-09-03 13:28:48 +0200 |
commit | dc05f486ca8fd0bf3ef85604125ada81f28ae9d5 (patch) | |
tree | 5809c8dbf510edef3cb4c2d91f5646f3c882da5f /PKGBUILD | |
parent | 89c41b34fbbef7e071d88d421e63ab89ef620f1b (diff) | |
download | AUR-dc05f486ca8fd0bf3ef85604125ada81f28ae9d5.tar.gz AUR-dc05f486ca8fd0bf3ef85604125ada81f28ae9d5.tar.zst AUR-dc05f486ca8fd0bf3ef85604125ada81f28ae9d5.zip |
PKGBUILD: assume $srcdir, as noted in PKGBUILD(5)
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -19,13 +19,13 @@ provides=("${_pkgname}") | |||
19 | conflicts=("${_pkgname}") | 19 | conflicts=("${_pkgname}") |
20 | 20 | ||
21 | pkgver() { | 21 | pkgver() { |
22 | cd "${srcdir}/${_pkgname}" | 22 | cd "${_pkgname}" |
23 | git log -1 --format='%cd.%h' --date=short | tr -d - | 23 | git log -1 --format='%cd.%h' --date=short | tr -d - |
24 | } | 24 | } |
25 | 25 | ||
26 | prepare() { | 26 | prepare() { |
27 | local file | 27 | local file |
28 | cd "${srcdir}/${_pkgname}" | 28 | cd "${_pkgname}" |
29 | sed \ | 29 | sed \ |
30 | -e '/char font/s/= .*/= "Fixed:pixelsize=13:style=SemiCondensed";/' \ | 30 | -e '/char font/s/= .*/= "Fixed:pixelsize=13:style=SemiCondensed";/' \ |
31 | -e '/char worddelimiters/s/= .*/= " '"'"'`\\\"()[]{}<>|";/' \ | 31 | -e '/char worddelimiters/s/= .*/= " '"'"'`\\\"()[]{}<>|";/' \ |
@@ -52,12 +52,12 @@ prepare() { | |||
52 | } | 52 | } |
53 | 53 | ||
54 | build() { | 54 | build() { |
55 | cd "${srcdir}/${_pkgname}" | 55 | cd "${_pkgname}" |
56 | make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 | 56 | make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 |
57 | } | 57 | } |
58 | 58 | ||
59 | package() { | 59 | package() { |
60 | cd "${srcdir}/${_pkgname}" | 60 | cd "${_pkgname}" |
61 | make PREFIX=/usr DESTDIR="${pkgdir}" install | 61 | make PREFIX=/usr DESTDIR="${pkgdir}" install |
62 | install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" | 62 | install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" |
63 | install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README" | 63 | install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README" |