[arch-commits] Commit in pango-perl/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Mon Nov 28 07:08:27 EST 2011


    Date: Monday, November 28, 2011 @ 07:08:27
  Author: jgc
Revision: 143688

upgpkg: pango-perl 1.223-1

Update to 1.22.3

Modified:
  pango-perl/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-28 11:39:04 UTC (rev 143687)
+++ PKGBUILD	2011-11-28 12:08:27 UTC (rev 143688)
@@ -2,9 +2,8 @@
 # Maintainer: Jan de Groot <jgc at 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 @@
 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}"
 }



More information about the arch-commits mailing list