summaryrefslogtreecommitdiff
path: root/testing/gtk2-perl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gtk2-perl/PKGBUILD')
-rw-r--r--testing/gtk2-perl/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/gtk2-perl/PKGBUILD b/testing/gtk2-perl/PKGBUILD
new file mode 100644
index 000000000..215b21109
--- /dev/null
+++ b/testing/gtk2-perl/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 124902 2011-05-25 01:27:30Z foutrelis $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: Sarah Hay <sarah@archlinux.org>
+
+pkgname=gtk2-perl
+_realname=Gtk2
+pkgver=1.222
+pkgrel=3
+pkgdesc="Gtk2-Perl allows Perl developers to write GTK+ 2.x applications."
+arch=(i686 x86_64)
+license=('LGPL')
+url="http://gtk2-perl.sourceforge.net/"
+makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
+depends=('gtk2' 'pango-perl')
+options=('!emptydirs')
+source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
+md5sums=('8f8a170b33dc2cf4e69769e97c05185a')
+
+build() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ # install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+ make install DESTDIR="${pkgdir}"
+}