diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 13 |
3 files changed, 13 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = fortune-mod-de-git pkgdesc = Fortune Cookies in German, from the Debian project - pkgver = 0.34.r383.gc0e2322 + pkgver = 0.35.r390.g941bb9e pkgrel = 1 url = https://salsa.debian.org/debian/fortunes-de arch = any diff --git a/.gitignore b/.gitignore index 833085309a2e..b39f3b2a183f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -*.tar.gz -*.pkg.tar.zst -*/* - +* +!PKGBUILD +!.gitignore +!.SRCINFO @@ -1,7 +1,7 @@ # Maintainer: Christian Schendel <doppelhelix@gmail.com> pkgname=fortune-mod-de-git -pkgver=0.34.r383.gc0e2322 +pkgver=0.35.r390.g941bb9e pkgrel=1 pkgdesc="Fortune Cookies in German, from the Debian project" url="https://salsa.debian.org/debian/fortunes-de" @@ -25,7 +25,8 @@ build() { PREFIX=`pwd`/build \ DOCDIR=usr/share/doc/${pkgname%-git} \ BINDIR=usr/bin \ - FORTUNESDIR=usr/share/fortune ./install.sh -utf8 + FORTUNESDIR=usr/share/fortune \ + ./install.sh -utf8 } package() { @@ -34,8 +35,10 @@ package() { cp -r * "${pkgdir}" # Remove *.u8 files and strip ".fortunes" from filenames cd $pkgdir/usr/share/fortune/de + mv debian debian-de + mv debian.dat debian-de.dat rm *.u8 - for f in *.fortunes*; do - mv $f ${f/.fortunes} - done + mv * .. + cd .. + rm -r de } |