mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
28 lines
875 B
Bash
28 lines
875 B
Bash
|
# $Id: PKGBUILD 46678 2009-07-19 15:33:01Z jgc $
|
||
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||
|
# Contributor: Sarah Hay <sarah@archlinux.org>
|
||
|
|
||
|
pkgname=glib-perl
|
||
|
_realname=Glib
|
||
|
pkgver=1.222
|
||
|
pkgrel=1
|
||
|
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.20.4' 'perl>=5.10.0')
|
||
|
makedepends=('perl-extutils-depends>=0.302' 'perl-extutils-pkgconfig>=1.12')
|
||
|
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
|
||
|
md5sums=('2f1af85d768920625f8d4a3ff9b75cc4')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/${_realname}-${pkgver}"
|
||
|
perl Makefile.PL INSTALLDIRS=vendor || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR="${pkgdir}" install || return 1
|
||
|
|
||
|
find "${pkgdir}" -name '.packlist' -delete
|
||
|
find "${pkgdir}" -name 'perllocal.pod' -delete
|
||
|
}
|