summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTilman Blumenbach2016-11-07 17:13:44 +0100
committerTilman Blumenbach2016-11-07 17:13:44 +0100
commita9140b8f757252a74f229451ad68cfdb73bb525f (patch)
tree7494001a4bf2d6abf7aa77defd0e8ff188799bf4 /PKGBUILD
parent54c7ca43079cdeeb5137b8c491ce7f11ee336672 (diff)
downloadaur-a9140b8f757252a74f229451ad68cfdb73bb525f.tar.gz
Work around bug in mksrcinfo.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1cca11e9403a..13650ee44248 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname='fortune-mod-bofh-excuses'
pkgver=20121125.190600
-pkgrel=3
+pkgrel=4
pkgdesc='BOFH excuses fortune cookie files'
arch=('any')
url='http://www.cs.wisc.edu/~ballard/bofh/'
@@ -60,9 +60,11 @@ package()
# XXX: Super ugly hotfix for pacaur apparently generating .SRCINFO _before_ pkgver() is run
# (therefore, it may contain invalid information).
if [ -f "${startdir}/.SRCINFO" ]; then
- mksrcinfo -o "${startdir}/.SRCINFO" "${startdir}/PKGBUILD"
+ cd "${startdir}"
+ mksrcinfo
fi
+
cd "${srcdir}"
install -D -m644 bofh-excuses "${pkgdir}/usr/share/fortune/bofh-excuses"