# $Id: PKGBUILD 205974 2014-02-15 01:40:48Z eric $ # Maintainer: # Contributor: François Charette # Contributor: Jason Chu # Contributor: Juergen Hoetzel pkgname=perl-tk pkgver=804.032 pkgrel=1 pkgdesc="A graphical user interface toolkit for Perl" arch=('i686' 'x86_64' 'mips64el') url="http://search.cpan.org/dist/Tk" license=('PerlArtistic' 'GPL' 'custom') depends=('libpng' 'libjpeg' 'tk' 'perl') options=('!emptydirs') source=(http://www.cpan.org/authors/id/S/SR/SREZIC/Tk-${pkgver}.tar.gz) md5sums=('47a84c70d1fd254ccece208303e6e9d5') build() { cd Tk-$pkgver perl Makefile.PL INSTALLDIRS=vendor make } #check() { # cd Tk-$pkgver # make test #} package() { cd Tk-$pkgver make install DESTDIR="$pkgdir" # license install -D -m644 pTk/license.terms \ "${pkgdir}/usr/share/licenses/${pkgname}/tk.license" install -D -m644 pTk/Tix.license \ "${pkgdir}/usr/share/licenses/${pkgname}/tix.license" }