PKGBUILD 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. # $Id$
  2. # Maintainer (Arch): Guillaume ALAUX <guillaume@archlinux.org>
  3. # Contributor (Arch): Eric Belanger <eric@archlinux.org>
  4. # Contributor (Arch): Sarah Hay <sarahhay@mb.sympatico.ca>
  5. # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
  6. pkgname=cowsay
  7. pkgver=3.03
  8. pkgrel=9.parabola1
  9. pkgdesc='Configurable talking cow (and a few other creatures), without nonfree cows'
  10. arch=('any')
  11. url='http://www.nog.net/~tony/warez/'
  12. license=('PerlArtistic' 'GPL')
  13. depends=('perl')
  14. #http://www.nog.net/~tony/warez/${pkgname}-${pkgver}.tar.gz
  15. source=(http://http.debian.net/debian/pool/main/c/${pkgname}/${pkgname}_${pkgver}+dfsg1.orig.tar.gz
  16. cowsay.patch)
  17. sha256sums=('10bae895d9afb2d720d2211db58f396352b00fe1386c369ca3608cbf6497b839'
  18. 'aa88442a31f01ffe5884b3ae974ed1ced23d860859d7f2234cdcd3ac437fc17f')
  19. build() {
  20. cd ${srcdir}/${pkgname}-${pkgver}+dfsg1
  21. patch -p1 -i $srcdir/cowsay.patch
  22. sed -i 's|/man/|/share/man/|' install.sh
  23. }
  24. package() {
  25. cd ${srcdir}/${pkgname}-${pkgver}+dfsg1
  26. echo "${pkgdir}/usr" | ./install.sh
  27. # This one is not a valid '.cow' file
  28. rm ${pkgdir}/usr/share/cows/mech-and-cow
  29. }