diff options
author | Tilman Blumenbach | 2016-11-07 17:03:40 +0100 |
---|---|---|
committer | Tilman Blumenbach | 2016-11-07 17:03:40 +0100 |
commit | 54c7ca43079cdeeb5137b8c491ce7f11ee336672 (patch) | |
tree | 982196de4c0f62013545a8bf6fbfeef81d980f93 /PKGBUILD | |
parent | f7bbbe6ab2ebb8bdf4667d969e3d6293c2736632 (diff) | |
download | aur-54c7ca43079cdeeb5137b8c491ce7f11ee336672.tar.gz |
Work around pkgver()-related bug in pacaur.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -3,12 +3,12 @@ pkgname='fortune-mod-bofh-excuses' pkgver=20121125.190600 -pkgrel=2 +pkgrel=3 pkgdesc='BOFH excuses fortune cookie files' arch=('any') url='http://www.cs.wisc.edu/~ballard/bofh/' depends=('fortune-mod') -makedepends=('curl') +makedepends=('curl' 'pkgbuild-introspection') groups=('fortune-mods') license=('Public domain') @@ -57,6 +57,12 @@ build() 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" + fi + cd "${srcdir}" install -D -m644 bofh-excuses "${pkgdir}/usr/share/fortune/bofh-excuses" |