updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / fortune-mod-cs-reddwarf-utf8 / PKGBUILD
blobd035c522da6ad30f46975105f735b25eafb2bab4
1 # Contributer: kozec <kozec-at-kozec-dot-com>
2 # Based on fortune-mod-cs-reddwarf
3 pkgname=fortune-mod-cs-reddwarf-utf8
4 pkgver=0.1
5 pkgrel=1
6 pkgdesc="Collection of Czech and Slovak fortune cookie files. (Red Dwarf; Modified for UTF-8 terminals)"
7 url="http://www.newlisp.org/index.cgi?Code_Contributions"
8 depends=('fortune-mod-cs')
9 makedepends=('glibc' 'fortune-mod')
10 conflicts=('fortune-mod-cs-reddwarf')
11 arch=('i686' 'x86_64')
12 license=('unknown')
13 source=(http://download.cirkva.net/fortune/reddwarf)
14 md5sums=('3ee2b3353dac54f4ab7a2e3a8c85e281')
15 noextract=('reddwarf')
17 build() {
18   mkdir -p $pkgdir/usr/share/fortune/cs
19   cd $pkgdir/usr/share/fortune/cs || return 1
20   iconv -f ISO-8859-2// -t UTF8 $srcdir/reddwarf >reddwarf || return 1
21   strfile reddwarf reddwarf.dat || return 1
22   chmod 644 reddwarf*