summaryrefslogtreecommitdiff
path: root/extra/pango-perl/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-29 23:14:46 +0000
committerroot <root@rshg054.dnsready.net>2011-11-29 23:14:46 +0000
commit946f0c9fe48dfb648a8a0be065e92f237ce210fd (patch)
tree13387ae15c5ab9a50acdaa6ab02a076319c19047 /extra/pango-perl/PKGBUILD
parent83c3c42a38bda36bdc56d594318958bc4cfd9b32 (diff)
Tue Nov 29 23:14:46 UTC 2011
Diffstat (limited to 'extra/pango-perl/PKGBUILD')
-rw-r--r--extra/pango-perl/PKGBUILD23
1 files changed, 15 insertions, 8 deletions
diff --git a/extra/pango-perl/PKGBUILD b/extra/pango-perl/PKGBUILD
index ad489dec4..e0c903a57 100644
--- a/extra/pango-perl/PKGBUILD
+++ b/extra/pango-perl/PKGBUILD
@@ -1,10 +1,9 @@
-# $Id: PKGBUILD 124899 2011-05-25 01:24:25Z foutrelis $
+# $Id: PKGBUILD 143689 2011-11-28 12:08:52Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=pango-perl
-_realname=Pango
-pkgver=1.221
-pkgrel=4
+pkgver=1.223
+pkgrel=1
pkgdesc="Perl bindings for Pango"
arch=(i686 x86_64)
license=('LGPL')
@@ -12,13 +11,21 @@ url="http://gtk2-perl.sourceforge.net/"
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
depends=('pango' 'glib-perl' 'cairo-perl')
options=('!emptydirs')
-source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
-md5sums=('8d257209aa11bd6c3a2beb235c2f103f')
+source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/Pango-${pkgver}.tar.gz)
+md5sums=('628a6de54f47b6791c6b45edfb835215')
build() {
- cd "${srcdir}/${_realname}-${pkgver}"
- # install module in vendor directories.
+ cd "${srcdir}/Pango-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
+}
+
+check() {
+ cd "${srcdir}/Pango-${pkgver}"
+ make test
+}
+
+package() {
+ cd "${srcdir}/Pango-${pkgver}"
make install DESTDIR="${pkgdir}"
}