summaryrefslogtreecommitdiff
path: root/community/perl-gnome2-wnck/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-gnome2-wnck/PKGBUILD')
-rw-r--r--community/perl-gnome2-wnck/PKGBUILD23
1 files changed, 16 insertions, 7 deletions
diff --git a/community/perl-gnome2-wnck/PKGBUILD b/community/perl-gnome2-wnck/PKGBUILD
index d9e72e446..25e0df822 100644
--- a/community/perl-gnome2-wnck/PKGBUILD
+++ b/community/perl-gnome2-wnck/PKGBUILD
@@ -1,23 +1,32 @@
-# $Id: PKGBUILD 35646 2010-12-21 23:11:34Z tdziedzic $
+# $Id: PKGBUILD 47727 2011-05-25 02:44:57Z tdziedzic $
# Maintainer Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
pkgname=perl-gnome2-wnck
pkgver=0.16
-pkgrel=2
+pkgrel=4
pkgdesc="Perl interface to the Window Navigator Construction Kit"
arch=('i686' 'x86_64')
license=("GPL" "Artistic")
url="http://search.cpan.org/dist/Gnome2-Wnck"
depends=('perl' 'perl-extutils-depends' 'perl-extutils-pkgconfig' 'gnome-perl' 'libwnck')
-source=(http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gnome2-Wnck-$pkgver.tar.gz)
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gnome2-Wnck-${pkgver}.tar.gz")
md5sums=('439f4569ffd7af96ef1d3feaab23760e')
build() {
- cd $startdir/src/Gnome2-Wnck-$pkgver
+ cd Gnome2-Wnck-${pkgver}
+
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
make
- make install DESTDIR=$startdir/pkg
- find $startdir/pkg -name '.packlist' -delete
- find $startdir/pkg -name '*.pod' -delete
+}
+
+package() {
+ cd Gnome2-Wnck-${pkgver}
+
+ make install DESTDIR=${pkgdir}
+
+ find ${pkgdir} -name '.packlist' -delete
+ find ${pkgdir} -name '*.pod' -delete
}