summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason2017-08-27 18:07:23 +1200
committerjason2017-08-27 18:07:23 +1200
commit916b472d0fce51e034c2248010e7b3dab961e227 (patch)
treebb7f0feb2289ff2c171a2c80e7b7232bcca81c39
parentc5c09ccc8484d6d00537270a8e78224ac0c785b2 (diff)
downloadaur-916b472d0fce51e034c2248010e7b3dab961e227.tar.gz
Rebuilt against new Perl
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 10 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 98fc871e09b..08c8950fe7b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Fri May 6 21:52:44 UTC 2016
+# Sun Aug 27 06:07:05 UTC 2017
pkgbase = perl-term-readline-ttytter
pkgdesc = A Perl readline for the oysttyer twitter client
pkgver = 1.4
- pkgrel = 3
+ pkgrel = 4
url = http://search.cpan.org/dist/Term-ReadLine-TTYtter
arch = any
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index 0294a0f2ef0..31eaa7f6019 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=perl-term-readline-ttytter
_pkgname=Term-ReadLine-TTYtter
pkgver=1.4
-pkgrel=3
+pkgrel=4
pkgdesc="A Perl readline for the oysttyer twitter client"
arch=(any)
url="http://search.cpan.org/dist/Term-ReadLine-TTYtter"
@@ -17,11 +17,16 @@ sha256sums=('ac373133cee1b2122a8273fe7b4244613d0eecefe88b668bd98fe71d1ec4ac93')
build() {
cd "$_pkgname-$pkgver"
- perl Makefile.PL installdirs=vendor destdir="$pkgdir/"
+ exporL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "$_pkgname-$pkgver"
- make install
+ #make install
+ make install DESTDIR="${pkgdir}"
+
+ # remove perllocal.pod and .packlist
+ find "${pkgdir}" -name perllocal.pod -delete
+ find "${pkgdir}" -name .packlist -delete
}