summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTilman Blumenbach2016-11-07 17:13:44 +0100
committerTilman Blumenbach2016-11-07 17:13:44 +0100
commita9140b8f757252a74f229451ad68cfdb73bb525f (patch)
tree7494001a4bf2d6abf7aa77defd0e8ff188799bf4
parent54c7ca43079cdeeb5137b8c491ce7f11ee336672 (diff)
downloadaur-a9140b8f757252a74f229451ad68cfdb73bb525f.tar.gz
Work around bug in mksrcinfo.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6d5af4cb8f37..956835570fa2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = fortune-mod-bofh-excuses
pkgdesc = BOFH excuses fortune cookie files
pkgver = 20121125.190600
- pkgrel = 3
+ pkgrel = 4
url = http://www.cs.wisc.edu/~ballard/bofh/
arch = any
groups = fortune-mods
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"