[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Thu Apr 11 11:31:37 UTC 2019


    Date: Thursday, April 11, 2019 @ 11:31:30
  Author: felixonmars
Revision: 451086

addpkg: perl-class-tiny 1.006-1

Added:
  perl-class-tiny/
  perl-class-tiny/repos/
  perl-class-tiny/trunk/
  perl-class-tiny/trunk/PKGBUILD

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

Added: perl-class-tiny/trunk/PKGBUILD
===================================================================
--- perl-class-tiny/trunk/PKGBUILD	                        (rev 0)
+++ perl-class-tiny/trunk/PKGBUILD	2019-04-11 11:31:30 UTC (rev 451086)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-class-tiny
+pkgver=1.006
+pkgrel=1
+pkgdesc="Minimalist class construction"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/Class-Tiny"
+depends=('perl')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Class-Tiny-$pkgver.tar.gz")
+sha512sums=('0a6ca0b99bd10a39445bb582bcf89f3668747f05b13b1f7271e934a73781c855a0418ae19a41593c64288b74710f49c1dcda0005be4edf9965e8020139ca0c7e')
+
+build() {
+  cd Class-Tiny-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Class-Tiny-$pkgver
+  make test
+}
+
+package() {
+  cd Class-Tiny-$pkgver
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list