PKGBUILDs/community/perl-gnome2-wnck/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
876 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
pkgname=perl-gnome2-wnck
pkgver=0.15
pkgrel=2
pkgdesc="Perl interface to the Window Navigator Construction Kit"
arch=('i686' 'x86_64')
license=("GPL" "Artistic")
url="http://search.cpan.org/dist/gtk2-perl.sf.net"
depends=('perl' 'perl-extutils-depends' 'perl-extutils-pkgconfig' 'gnome-perl' 'libwnck')
source=(http://downloads.sourceforge.net/gtk2-perl/Gnome2-Wnck-$pkgver.tar.gz)
md5sums=('67ebb0e53d76c0ecd6fc0564bf4717c6')
build() {
cd $startdir/src/Gnome2-Wnck-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}