PKGBUILDs/community/perl-gtk2-sexy/PKGBUILD
2009-10-09 21:15:33 -05:00

35 lines
1.2 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Contributor: Charles Mauch <cmauch@gmail.com>
# Creator: Florian Ragwitz <http://search.cpan.org/~/>
#
# Perl module packaging bugs should be reported to the Maintainer.
# All other bugs should be reported to the Creator.
#
# This module conforms to Archlinux Perl Policy ... For more info see
# http://wiki.archlinux.org/index.php/Perl_Policy
#
# This module was autocreated. Please see http://xtermin.us/archperl/ for
# details on the build process.
#
pkgname=perl-gtk2-sexy
pkgver=0.05
pkgrel=1
pkgdesc="Perl/CPAN Module Gtk2::Sexy"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/Gtk2-Sexy"
license=('GPL' 'Artistic')
depends=('gtk2' 'libsexy')
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
options=(docs !emptydirs)
source=("http://www.cpan.org/authors/id/F/FL/FLORA/Gtk2-Sexy-$pkgver.tar.gz")
md5sums=('3e291808250d7b956ba8443013a1b461')
build() {
cd $startdir/src/Gtk2-Sexy-$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
}