summaryrefslogtreecommitdiff
path: root/community/perl-text-charwidth/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-30 19:55:24 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-30 19:55:24 -0300
commite2a2cddf54e26ab2f6551c9d27b997472e5f4d45 (patch)
tree506c782411889ae8fe218db16eee680c7ae5e0e2 /community/perl-text-charwidth/PKGBUILD
parent7927a6b6296eecd09c8d2f70e593a378768deabe (diff)
parent5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/gtk2hs-cairo/PKGBUILD community/gtk2hs-glib/PKGBUILD community/gtk2hs-gtk/PKGBUILD community/gtk2hs-pango/PKGBUILD community/haskell-dbus/PKGBUILD community/haskell-hslogger/PKGBUILD community/kvirc/PKGBUILD community/perl-gtk2-trayicon/PKGBUILD core/binutils/PKGBUILD core/gcc/PKGBUILD core/glibc/PKGBUILD core/linux-api-headers/PKGBUILD extra/krusader/PKGBUILD extra/libproxy/PKGBUILD extra/libreoffice/PKGBUILD extra/openal/PKGBUILD extra/postgresql/PKGBUILD extra/razor/PKGBUILD extra/subversion/PKGBUILD extra/swt/PKGBUILD extra/valgrind/PKGBUILD kde-unstable/kdebase-runtime/PKGBUILD kde-unstable/kdenetwork/PKGBUILD kde-unstable/kdepim-runtime/PKGBUILD libre/kernel26-libre/PKGBUILD multilib/binutils-multilib/PKGBUILD multilib/gcc-multilib/PKGBUILD multilib/lib32-glibc/PKGBUILD testing/git/PKGBUILD testing/graphviz/PKGBUILD testing/graphviz/install testing/perl-xml-parser/PKGBUILD
Diffstat (limited to 'community/perl-text-charwidth/PKGBUILD')
-rw-r--r--community/perl-text-charwidth/PKGBUILD23
1 files changed, 16 insertions, 7 deletions
diff --git a/community/perl-text-charwidth/PKGBUILD b/community/perl-text-charwidth/PKGBUILD
index 85af5dcf3..580f8b640 100644
--- a/community/perl-text-charwidth/PKGBUILD
+++ b/community/perl-text-charwidth/PKGBUILD
@@ -1,22 +1,31 @@
-# $Id: PKGBUILD 35706 2010-12-22 01:26:17Z tdziedzic $
+# $Id: PKGBUILD 47581 2011-05-23 20:20:00Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-text-charwidth
pkgver=0.04
-pkgrel=5
+pkgrel=6
pkgdesc="Perl/CPAN Module Text::CharWidth"
arch=("i686" "x86_64" 'mips64el')
url="http://search.cpan.org/dist/Text-CharWidth"
license=("GPL" "PerlArtistic")
-source=("http://www.cpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-$pkgver.tar.gz")
+options=('!emptydirs')
+source=("http://www.cpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-${pkgver}.tar.gz")
md5sums=('37a723df0580c0758c0ee67b37336c15')
build() {
- cd $srcdir/Text-CharWidth-$pkgver
+ cd Text-CharWidth-${pkgver}
+
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
make
- make install DESTDIR=$pkgdir
- find $pkgdir -name '.packlist' -delete
- find $pkgdir -name '*.pod' -delete
+}
+
+package() {
+ cd Text-CharWidth-${pkgver}
+
+ make install DESTDIR=${pkgdir}
+
+ find ${pkgdir} -name '.packlist' -delete
+ find ${pkgdir} -name '*.pod' -delete
}