diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
commit | 5669815ec3a539cf7b5ac7d8da2cbba3aeff44be (patch) | |
tree | f13051093a52f47f5954c2ee2a783bc2f0f62f96 /abs/core/perl_modules/perl-text-patch | |
parent | 8d35f28049488f2585ef765bf48e7a58958fd587 (diff) | |
parent | 04697136037cb5341ee6c051f8aaa265c0400c82 (diff) | |
download | linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.zip linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.gz linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/perl_modules/perl-text-patch')
-rw-r--r-- | abs/core/perl_modules/perl-text-patch/PKGBUILD | 33 |
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 } |