diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/glib-perl/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/glib-perl/PKGBUILD')
-rw-r--r-- | extra/glib-perl/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/glib-perl/PKGBUILD b/extra/glib-perl/PKGBUILD new file mode 100644 index 000000000..4b57e3065 --- /dev/null +++ b/extra/glib-perl/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 104386 2011-01-02 04:08:45Z kevin $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Sarah Hay <sarah@archlinux.org> + +pkgname=glib-perl +_realname=Glib +pkgver=1.223 +pkgrel=2 +pkgdesc="Perl wrappers for glib 2.x, including GObject" +arch=(i686 x86_64) +license=('LGPL') +url="http://gtk2-perl.sourceforge.net/" +options=('!emptydirs') +depends=('glib2>=2.24.1' 'perl>=5.12.1') +makedepends=('perl-extutils-depends>=0.302' 'perl-extutils-pkgconfig>=1.12') +source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz) +md5sums=('cfdeaa8c95448f86c30b505e4701abf1') + +build() { + cd "${srcdir}/${_realname}-${pkgver}" + perl Makefile.PL INSTALLDIRS=vendor + make + make test +} + +package() { + cd "${srcdir}/${_realname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |