diff options
Diffstat (limited to 'community/perl-gtk2-sexy')
-rw-r--r-- | community/perl-gtk2-sexy/PKGBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/community/perl-gtk2-sexy/PKGBUILD b/community/perl-gtk2-sexy/PKGBUILD index 087aba9e2..f0f3c21e8 100644 --- a/community/perl-gtk2-sexy/PKGBUILD +++ b/community/perl-gtk2-sexy/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 36684 2011-01-06 04:50:07Z angvp $ +# $Id: PKGBUILD 47716 2011-05-25 02:28:38Z tdziedzic $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Charles Mauch <cmauch@gmail.com> # Creator: Florian Ragwitz <http://search.cpan.org/~/> pkgname=perl-gtk2-sexy pkgver=0.05 -pkgrel=4 +pkgrel=5 pkgdesc="Perl/CPAN Module Gtk2::Sexy" arch=('i686' 'x86_64' 'mips64el') url="http://search.cpan.org/dist/Gtk2-Sexy" @@ -13,18 +13,22 @@ license=('GPL' 'PerlArtistic') depends=('gtk2' 'libsexy') makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends' 'gtk2-perl') options=(docs !emptydirs) -source=("http://www.cpan.org/authors/id/F/FL/FLORA/Gtk2-Sexy-$pkgver.tar.gz") +source=("http://www.cpan.org/authors/id/F/FL/FLORA/Gtk2-Sexy-${pkgver}.tar.gz") md5sums=('3e291808250d7b956ba8443013a1b461') build() { - cd $srcdir/Gtk2-Sexy-$pkgver + cd Gtk2-Sexy-${pkgver} + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make } package() { - cd $srcdir/Gtk2-Sexy-$pkgver - make install DESTDIR=$pkgdir - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete + cd Gtk2-Sexy-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete } |