summaryrefslogtreecommitdiff
path: root/extra/gnome-perl/PKGBUILD
blob: 1ebedb289deeef14ea44c4430b7e5a38a18e8ad8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 148752 2012-02-05 11:49:12Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gnome-perl
_realname=Gnome2
pkgver=1.042
pkgrel=7
pkgdesc="Perl bindings for libgnome"
arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
depends=('gnomecanvas-perl' 'gnome-vfs-perl' 'libgnomeui' 'perl')
options=('!emptydirs')
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
md5sums=('eb7b624114e45e54e022a633ffc1cce6')

build() {
  cd "${srcdir}/${_realname}-${pkgver}"
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd "${srcdir}/${_realname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}