diff options
-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" |