db-move: moved grilo-plugins from [staging] to [testing] (x86_64)
[arch-packages.git] / cowsay / trunk / PKGBUILD
blob015054d792372378fdcc4d447c2d9c62bdcdcd55
1 # Maintainer: Guillaume ALAUX <guillaume@archlinux.org> 
2 # Contributor: Eric Belanger <eric@archlinux.org>
3 # Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
5 pkgname=cowsay
6 pkgver=3.04
7 pkgrel=2
8 pkgdesc='Configurable talking cow (and a few other creatures)'
9 arch=('any')
10 url='http://www.nog.net/~tony/warez/'
11 license=('PerlArtistic' 'GPL')
12 depends=('perl')
13 source=(https://github.com/tnalpgge/rank-amateur-cowsay/archive/cowsay-$pkgver.tar.gz
14         cowsay.patch)
15 sha512sums=('99d21ef9a7c7c76056cb7acb2c771fbdabfedde4f6edb5d3035337c59f9e88944690d1b43282c32827ad79339199716366c8be73b0dea09063ec2d52220c1b51'
16             '4c70074fc88e741f2eb4daa04a55ef3ff0638bffda907fe451299aeb2271a3b09c4b73df4d3eb83f6ac91b9cb05530bb2a59df81c72602728441254624a05327')
18 build() {
19         cd rank-amateur-cowsay-${pkgname}-${pkgver}
20         patch -p1 -i "$srcdir"/cowsay.patch
21         sed -i 's|/man/|/share/man/|' install.sh
24 package() {
25         cd rank-amateur-cowsay-${pkgname}-${pkgver}
26         echo "${pkgdir}/usr" | ./install.sh
27         # This one is not a valid '.cow' file
28         rm "${pkgdir}"/usr/share/cows/mech-and-cow