updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / fortune-mod-zh / PKGBUILD
blob96e81fa0b4b7eb965edc952066418f4be1014bb8
1 # Maintainer: Gadget3000 <gadget3000 at msn dot com>
2 # Contributor: sssslang <xofyarg at gmail dot com>
3 # Contributor: Rick W. Chen <stuffcorpse@archlinux.us>
5 pkgname=fortune-mod-zh
6 pkgver=1.9
7 pkgrel=1
8 pkgdesc="Chinese poems for fortune-mod"
9 url="http://packages.qa.debian.org/f/fortune-zh.html"
10 license="GPL"
11 depends=('fortune-mod')
12 groups=('fortune-mods')
13 source=(http://ftp.debian.org/debian/pool/main/f/fortune-zh/fortune-zh_${pkgver}.tar.gz)
14 md5sums=('a9112eb9626997009512fb895b3a0a91')
15 arch=('i686' 'x86_64')
17 build() {
18   cd ${srcdir}/fortune-zh-${pkgver}
19   make || return 1
20   mkdir -p ${pkgdir}/usr/share/fortune
21   install -m0644 tang300 ${pkgdir}/usr/share/fortune
22   install -m0644 tang300.dat ${pkgdir}/usr/share/fortune
23   install -m0644 song100 ${pkgdir}/usr/share/fortune
24   install -m0644 song100.dat ${pkgdir}/usr/share/fortune