summaryrefslogtreecommitdiff
path: root/user/perl-class-accessor
diff options
context:
space:
mode:
authorAlyx Wolcott <alyx@malkier.net>2019-07-04 19:05:38 -0500
committerAlyx Wolcott <alyx@malkier.net>2019-07-04 19:05:38 -0500
commitc0ccd6a4ae6f2f5722da4e97c326abd163a1a56f (patch)
treeb851ca8b8a81ade1b4629cc14125dcb3a721e4c8 /user/perl-class-accessor
parentcf3f245bfc3bacac69ed7a5c5c85630751ceae6f (diff)
downloadpackages-c0ccd6a4ae6f2f5722da4e97c326abd163a1a56f.tar.gz
packages-c0ccd6a4ae6f2f5722da4e97c326abd163a1a56f.tar.bz2
packages-c0ccd6a4ae6f2f5722da4e97c326abd163a1a56f.tar.xz
packages-c0ccd6a4ae6f2f5722da4e97c326abd163a1a56f.zip
user/perl-class-accessor: new package
Diffstat (limited to 'user/perl-class-accessor')
-rw-r--r--user/perl-class-accessor/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/perl-class-accessor/APKBUILD b/user/perl-class-accessor/APKBUILD
new file mode 100644
index 000000000..6ea77357d
--- /dev/null
+++ b/user/perl-class-accessor/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Alyx Wolcott <alyx@leuhta.com>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-class-accessor
+pkgver=0.51
+pkgrel=0
+pkgdesc="Perl class accessor generator"
+url="https://metacpan.org/release/Class-Accessor"
+arch="noarch"
+license="Artistic-1.0-Perl"
+depends="perl-sub-name"
+makedepends="perl-dev perl-module-install"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/K/KA/KASEI/Class-Accessor-$pkgver.tar.gz"
+builddir="$srcdir/Class-Accessor-$pkgver"
+
+build() {
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="be11acea4747c59e3e524c75d818e0391756cbc08eebff71dca280e737ce228209e76310649298e536e07db1c856d5a71dd64aefc55b49e33cfcb2b3439eab0b Class-Accessor-0.51.tar.gz"