PKGBUILDs/extra/cowsay/PKGBUILD
2009-10-09 21:23:22 -05:00

22 lines
808 B
Bash

# $Id: PKGBUILD 21052 2008-12-09 04:51:05Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
pkgname=cowsay
pkgver=3.03
pkgrel=6
pkgdesc="Add speaking and thinking cows (and a few other creatures) to anything"
arch=('i686' 'x86_64')
url="http://www.nog.net/~tony/warez/cowsay.shtml"
license=('PerlArtistic' 'GPL')
depends=('perl')
source=(http://www.nog.net/~tony/warez/${pkgname}-${pkgver}.tar.gz cowsay.patch)
md5sums=('b29169797359420dadb998079021a494' '7091f9a6d97006299a1f27a665b638b6')
sha1sums=('cc65a9b13295c87df94a58caa8a9176ce5ec4a27' '0da25fd2f80de4d92096c5d1ece2c6dcc05bea75')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -p1 < ../cowsay.patch
sed -i 's|/man/|/share/man/|' install.sh
echo "${pkgdir}/usr" | ./install.sh
}