summaryrefslogtreecommitdiff
path: root/extra/cairo-perl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cairo-perl/PKGBUILD')
-rw-r--r--extra/cairo-perl/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/cairo-perl/PKGBUILD b/extra/cairo-perl/PKGBUILD
new file mode 100644
index 000000000..aa8a93a81
--- /dev/null
+++ b/extra/cairo-perl/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 104389 2011-01-02 04:22:32Z kevin $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=cairo-perl
+_realname=Cairo
+pkgver=1.061
+pkgrel=3
+pkgdesc="Perl wrappers for cairo"
+arch=(i686 x86_64)
+license=('LGPL')
+url="http://gtk2-perl.sourceforge.net/"
+options=('!emptydirs')
+depends=('cairo>=1.8.10' 'perl>=5.12.1')
+makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
+source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
+md5sums=('08cd5e847f61858651fc4de769066e88')
+
+build() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}