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

Eric Bélanger eric at archlinux.org
Sat Nov 19 03:36:02 EST 2011


    Date: Saturday, November 19, 2011 @ 03:36:02
  Author: eric
Revision: 142965

upgpkg: perl-tk 804.030-1

Upstream update, Remove already satisfied libx11 depends

Modified:
  perl-tk/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++--------------
 1 file changed, 11 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-19 08:22:13 UTC (rev 142964)
+++ PKGBUILD	2011-11-19 08:36:02 UTC (rev 142965)
@@ -5,40 +5,37 @@
 
 pkgname=perl-tk
 _cpanname=Tk
-pkgver=804.029
-pkgrel=3
+pkgver=804.030
+pkgrel=1
 pkgdesc="A graphical user interface toolkit for Perl"
 arch=('i686' 'x86_64')
 url="http://search.cpan.org/dist/${_cpanname}"
 license=('PerlArtistic' 'GPL' 'custom')
-depends=('libx11' 'libpng' 'libjpeg' 'tk' 'perl')
+depends=('libpng' 'libjpeg' 'tk' 'perl')
 options=('!emptydirs')
 replaces=('perltk')
 provides=('perltk')
-source=(http://www.cpan.org/authors/id/S/SR/SREZIC/${_cpanname}-${pkgver}.tar.gz) 
-md5sums=('f4aebe6fcdb309a8480514f2ccf8117c')
+source=(http://www.cpan.org/authors/id/S/SR/SREZIC/${_cpanname}-${pkgver}.tar.gz)
+md5sums=('13275e85f99ee467a86d9598a437abff')
 
 build() {
-  cd $srcdir/${_cpanname}-$pkgver
+  cd "$srcdir/${_cpanname}-$pkgver"
   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
-  /bin/chmod -R u+w *
-  # The Xlib header is wrong...
-  sed -i 's/XKeycodeToKeysym\(.*\)unsigned int/XKeycodeToKeysym\1KeyCode/' pTk/Xlib.h
   make
 }
 
 #check() {
-#  cd $srcdir/${_cpanname}-$pkgver
+#  cd "$srcdir/${_cpanname}-$pkgver"
 #  make test
 #}
 
 package() {
-  cd $srcdir/${_cpanname}-$pkgver
-  make install DESTDIR=$pkgdir
+  cd "$srcdir/${_cpanname}-$pkgver"
+  make install DESTDIR="$pkgdir"
 
   # license
   install -D -m644 pTk/license.terms \
-                   ${startdir}/pkg/usr/share/licenses/${pkgname}/tk.license
+                   "${pkgdir}/usr/share/licenses/${pkgname}/tk.license"
   install -D -m644 pTk/Tix.license \
-                   ${startdir}/pkg/usr/share/licenses/${pkgname}/tix.license
+                   "${pkgdir}/usr/share/licenses/${pkgname}/tix.license"
 }



More information about the arch-commits mailing list