SHARE
TWEET

perl-gtk2-unique AUR PKGBUILD

Klink-a-dink-dink Jul 2nd, 2011 312 Never
  1. pkgname=perl-gtk2-unique
  2. _realname=Gtk2-Unique
  3. pkgver=0.05
  4. pkgrel=1
  5. pkgdesc="Perl bindings for the C library libunique"
  6. arch=('any')
  7. url="http://search.cpan.org/~potyl/Gtk2-Unique/"
  8. license=('LGPL' 'Perl')
  9. depends=('perl' 'gtk2-perl' 'perl-extutils-depends' 'perl-extutils-pkgconfig' 'libunique')
  10. options=('!emptydirs')
  11. source=(http://search.cpan.org/CPAN/authors/id/P/PO/POTYL/$_realname-0.05.tar.gz)
  12. md5sums=('0beb552933b765a017588563a71af123')
  13.  
  14. build() {
  15.   cd  $srcdir/$_realname-$pkgver
  16.   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
  17.   make || return 1
  18.   make install DESTDIR=$pkgdir || return 1
  19.   find $pkgdir -name '.packlist' -delete
  20.   find $pkgdir -name '*.pod' -delete
  21. }
RAW Paste Data
Top