PKGBUILDs/extra/glade-perl/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
858 B
Bash

# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=glade-perl
_realname=Gtk2-GladeXML
pkgver=1.006
pkgrel=2
pkgdesc="Gtk2-GladeXML perl bindings for glade 2.x"
arch=(i686 x86_64)
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
makedepends=( 'perl-extutils-pkgconfig' 'perl-extutils-depends')
depends=('libglade>=2.6' 'gtk2-perl>=1.146' 'perl>=5.10.0')
options=('!emptydirs')
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
md5sums=('a321fa6ec7b883fc002a371bdaa99d76')
build() {
cd ${startdir}/src/${_realname}-${pkgver}
perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
find ${startdir}/pkg -name '.packlist' -delete
find ${startdir}/pkg -name 'perllocal.pod' -delete
}