Initial PKGBUILD status as of 28.11.2014

This commit is contained in:
Jaroslav Lichtblau 2014-11-28 20:17:14 +01:00
commit 9b8a6b8a8d
2 changed files with 39 additions and 0 deletions

14
.SRCINFO Normal file
View file

@ -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

25
PKGBUILD Normal file
View file

@ -0,0 +1,25 @@
# Maintainer: Jaroslav Lichtblau <tu@dragonlord.cz>
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
}