diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-07-01 04:58:03 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-07-01 04:58:03 +0000 |
commit | 76400556d9e8a5dedc692487c13b76a541813a23 (patch) | |
tree | fb8b06b7dea0e79577a77e3748ed551d9ac1b34b /testing/perl-tk | |
parent | 64e72407414ce0badfb541782125cd8e3a25c12e (diff) |
Fri Jul 1 04:58:02 UTC 2011
Diffstat (limited to 'testing/perl-tk')
-rw-r--r-- | testing/perl-tk/PKGBUILD | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/testing/perl-tk/PKGBUILD b/testing/perl-tk/PKGBUILD deleted file mode 100644 index 2a80a320e..000000000 --- a/testing/perl-tk/PKGBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# $Id: PKGBUILD 124660 2011-05-23 20:07:22Z remy $ -# Maintainer: François Charette <francois ατ archlinux δοτ org> -# Contributor: Jason Chu <jchu@xentac.net> -# Contributor: Juergen Hoetzel <juergen@archlinux.org> - -pkgname=perl-tk -_cpanname=Tk -pkgver=804.029 -pkgrel=3 -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') -options=('!emptydirs') -replaces=('perltk') -provides=('perltk') -source=(http://www.cpan.org/authors/id/S/SR/SREZIC/${_cpanname}-${pkgver}.tar.gz) -md5sums=('f4aebe6fcdb309a8480514f2ccf8117c') - -build() { - 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 -# make test -#} - -package() { - cd $srcdir/${_cpanname}-$pkgver - make install DESTDIR=$pkgdir - - # license - install -D -m644 pTk/license.terms \ - ${startdir}/pkg/usr/share/licenses/${pkgname}/tk.license - install -D -m644 pTk/Tix.license \ - ${startdir}/pkg/usr/share/licenses/${pkgname}/tix.license -} |