102.11.0-1
[arch-packages.git] / glib-perl / trunk / PKGBUILD
blob6e1eea49c2cf8a751410c3af32bc474d8980fc58
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Sarah Hay <sarah@archlinux.org>
4 pkgname=glib-perl
5 pkgver=1.329.3
6 _pkgver=1.3293
7 pkgrel=3
8 pkgdesc="Perl wrappers for glib 2.x, including GObject"
9 arch=(x86_64)
10 license=('LGPL')
11 url="http://gtk2-perl.sourceforge.net/"
12 options=('!emptydirs')
13 depends=('glib2')
14 makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
15 source=(https://downloads.sourceforge.net/sourceforge/gtk2-perl/Glib-${_pkgver}.tar.gz)
16 sha256sums=('7316a0c1e7cc5cb3db7211214f45d7bdc2354365a680ac4bd3ac8bf06d1cb500')
18 build() {
19   cd Glib-$_pkgver
20   PERL_USE_UNSAFE_INC=1 \
21   perl Makefile.PL INSTALLDIRS=vendor
22   PERL_USE_UNSAFE_INC=1 \
23   make
26 check() {
27   cd Glib-$_pkgver
28   make test
31 package() {
32   cd Glib-$_pkgver
33   make DESTDIR="${pkgdir}" install