Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

perl-gtk2-unique AUR PKGBUILD

By: Klink-a-dink-dink on Jul 2nd, 2011  |  syntax: Bash  |  size: 0.71 KB  |  views: 306  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }