[arch-commits] Commit in perl-text-patch/repos (staging-any staging-any/PKGBUILD)

Florian Pritz bluewind at archlinux.org
Wed Aug 1 09:26:58 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:26:58
  Author: bluewind
Revision: 330090

archrelease: copy trunk to staging-any

Added:
  perl-text-patch/repos/staging-any/
  perl-text-patch/repos/staging-any/PKGBUILD
    (from rev 330089, perl-text-patch/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: perl-text-patch/repos/staging-any/PKGBUILD (from rev 330089, perl-text-patch/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 09:26:58 UTC (rev 330090)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: 
+
+pkgname=perl-text-patch
+pkgver=1.8
+pkgrel=5
+pkgdesc="Patches text with given patch"
+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/Text-Patch-$pkgver.tar.gz")
+sha1sums=('025d6249ae2b57b2f92cc7e1761b94a5fdbe4635')
+
+build() {
+  cd Text-Patch-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Text-Patch-$pkgver
+  make test
+}
+
+package() {
+  cd Text-Patch-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list