aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 314d143..6221c6b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,13 +19,13 @@ provides=("${_pkgname}")
19conflicts=("${_pkgname}") 19conflicts=("${_pkgname}")
20 20
21pkgver() { 21pkgver() {
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
26prepare() { 26prepare() {
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
54build() { 54build() {
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
59package() { 59package() {
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"