[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Thu Apr 11 10:03:35 UTC 2019


    Date: Thursday, April 11, 2019 @ 10:03:34
  Author: felixonmars
Revision: 451032

addpkg: perl-test-object 0.08-1

Added:
  perl-test-object/
  perl-test-object/repos/
  perl-test-object/trunk/
  perl-test-object/trunk/PKGBUILD

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

Added: perl-test-object/trunk/PKGBUILD
===================================================================
--- perl-test-object/trunk/PKGBUILD	                        (rev 0)
+++ perl-test-object/trunk/PKGBUILD	2019-04-11 10:03:34 UTC (rev 451032)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-test-object
+pkgver=0.08
+pkgrel=1
+pkgdesc="Thoroughly testing objects via registered handlers"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/Test-Object"
+depends=('perl')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Object-$pkgver.tar.gz")
+sha512sums=('c528ee4d8eebb26cc336344765f1c5d402f020dae42f658164a5b2954c48975ccf33dafa768228bddff7583af5cd219959a82d037408c250cf162d59ab3a90d1')
+
+build() {
+  cd Test-Object-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Test-Object-$pkgver
+  make test
+}
+
+package() {
+  cd Test-Object-$pkgver
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list