1 # $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
2 # Maintainer: Tom Killian <tom@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
8 pkgdesc="Perl bindings for the Newt text mode widget-based windowing toolkit"
10 license=('PerlArtistic')
11 depends=('popt' 'slang' 'tcl' 'perl>=5.10.0')
13 url="ftp://ftp.msg.com.mx/pub/Newt/"
14 source=(ftp://ftp.msg.com.mx/pub/Newt/Newt-${pkgver}.tar.gz
15 newt-1.08-slang-2.patch
16 newt-1.08-gcc-4.patch)
17 md5sums=('462f3fabc05ec5dd4a2d554c01568bdf' '1498b9b6479f189524b89aaa688f5931'\
18 '436eca000452f8aa06d780b09529fe49')
22 cd ${startdir}/src/Newt-${pkgver}
23 patch -Np1 -i ${startdir}/src/newt-1.08-slang-2.patch || return 1
24 patch -Np1 -i ${startdir}/src/newt-1.08-gcc-4.patch || return 1
26 # install module in vendor directories.
27 perl Makefile.PL INSTALLDIRS=vendor || return 1
29 make install DESTDIR=${startdir}/pkg || return 1
31 # remove perllocal.pod and .packlist
32 find ${startdir}/pkg -name perllocal.pod -delete
33 find ${startdir}/pkg -name .packlist -delete