summaryrefslogtreecommitdiff
path: root/extra/glade-perl/PKGBUILD
blob: f1047ceea71f737e83b94ff25df8fc3a97bb7ca4 (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 186375 2013-05-26 09:24:26Z bluewind $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=glade-perl
_realname=Gtk2-GladeXML
pkgver=1.007
pkgrel=7
pkgdesc="Gtk2-GladeXML perl bindings for glade 2.x"
arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
depends=('libglade' 'gtk2-perl' 'perl')
options=('!emptydirs')
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
md5sums=('e6ca234e2a9f0221263acd2a593c583b')

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

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