summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-29 23:35:59 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-29 23:35:59 (GMT)
commitbabadeeed36c9cc8e8b7689175034523718a5bde (patch)
tree92f466d2e194da8fc0d87c887b9d4172fc8ac509 /abs/core
parentf4431b8a9946416436e393c09964678356f0636a (diff)
downloadlinhes_pkgbuild-babadeeed36c9cc8e8b7689175034523718a5bde.zip
linhes_pkgbuild-babadeeed36c9cc8e8b7689175034523718a5bde.tar.gz
linhes_pkgbuild-babadeeed36c9cc8e8b7689175034523718a5bde.tar.bz2
perl-text-patch: update to 1.8
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/perl_modules/perl-text-patch/PKGBUILD33
1 files changed, 19 insertions, 14 deletions
diff --git a/abs/core/perl_modules/perl-text-patch/PKGBUILD b/abs/core/perl_modules/perl-text-patch/PKGBUILD
index d7751e4..9dbf253 100644
--- a/abs/core/perl_modules/perl-text-patch/PKGBUILD
+++ b/abs/core/perl_modules/perl-text-patch/PKGBUILD
@@ -1,26 +1,31 @@
-# $Id: PKGBUILD 125357 2011-05-26 06:26:28Z angvp $
-# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
-# Contributor: Caleb Cushing <xenoterracide@gmail.com>
+# $Id$
+# Maintainer:
+
pkgname=perl-text-patch
-_realname=Text-Patch
pkgver=1.8
-pkgrel=1
+pkgrel=4
pkgdesc="Patches text with given patch"
-arch=(any)
-license=(PerlArtistic GPL)
-depends=(perl)
-url='http://search.cpan.org/dist/$_realname'
+arch=('any')
+url="http://search.cpan.org/dist/Text-Patch"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+checkdepends=('perl-text-diff')
options=('!emptydirs')
-source=("http://search.cpan.org/CPAN/authors/id/C/CA/CADE/$_realname-$pkgver.tar.gz")
-md5sums=('ad5e453d5ba3b48afd8163114d0fee1c')
+source=("http://search.cpan.org/CPAN/authors/id/C/CA/CADE/Text-Patch-$pkgver.tar.gz")
+sha1sums=('025d6249ae2b57b2f92cc7e1761b94a5fdbe4635')
build() {
- cd "$srcdir/$_realname-$pkgver"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ cd Text-Patch-$pkgver
+ perl Makefile.PL INSTALLDIRS=vendor
make
}
+check() {
+ cd Text-Patch-$pkgver
+ make test
+}
+
package() {
- cd "$srcdir/$_realname-$pkgver"
+ cd Text-Patch-$pkgver
make DESTDIR="$pkgdir" install
}