commit 9b8a6b8a8deb45fe97dc52150501fdd3e801d9ba Author: Jaroslav Lichtblau Date: Fri Nov 28 20:17:14 2014 +0100 Initial PKGBUILD status as of 28.11.2014 diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..54c604de3548 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = fortune-mod-cs + pkgdesc = Collection of Czech and Slovak fortune cookie files. + pkgver = 2.0.9 + pkgrel = 1 + url = http://ftp.phil.muni.cz/pub/local/fortune + arch = any + groups = fortune-mods + license = GPL + depends = fortune-mod + source = http://ftp.phil.muni.cz/pub/local/fortune/fortune-cs-2.0.9.tar.bz2 + md5sums = 0de253dc2670c7bf5670c7c820f5a90d + +pkgname = fortune-mod-cs + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..91ae1b146294 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Jaroslav Lichtblau + +pkgname=fortune-mod-cs +pkgver=2.0.9 +pkgrel=1 +pkgdesc="Collection of Czech and Slovak fortune cookie files." +arch=('any') +url="http://ftp.phil.muni.cz/pub/local/fortune" +license=('GPL') +depends=('fortune-mod') +groups=('fortune-mods') +source=(http://ftp.phil.muni.cz/pub/local/fortune/fortune-cs-$pkgver.tar.bz2) +md5sums=('0de253dc2670c7bf5670c7c820f5a90d') + +package() { + cd "${srcdir}/fortune-cs-$pkgver/src/cookies" + install -d "${pkgdir}/usr/share/fortune/cs" + install -m 644 * "${pkgdir}/usr/share/fortune/cs/" + + cd "${pkgdir}/usr/share/fortune/cs" + for _file in *; do + strfile -s $_file + #ln -s $_file $_file.u8 + done +}