diff options
author | Tilman Blumenbach | 2016-11-07 17:13:44 +0100 |
---|---|---|
committer | Tilman Blumenbach | 2016-11-07 17:13:44 +0100 |
commit | a9140b8f757252a74f229451ad68cfdb73bb525f (patch) | |
tree | 7494001a4bf2d6abf7aa77defd0e8ff188799bf4 | |
parent | 54c7ca43079cdeeb5137b8c491ce7f11ee336672 (diff) | |
download | aur-a9140b8f757252a74f229451ad68cfdb73bb525f.tar.gz |
Work around bug in mksrcinfo.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -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 @@ -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" |