diff options
author | CyberLeo <cyberleo@cyberleo.net> | 2020-03-28 05:45:52 -0500 |
---|---|---|
committer | CyberLeo <cyberleo@cyberleo.net> | 2020-03-28 05:45:52 -0500 |
commit | 9297468fa579836e3a6a381b798feb6b78217c2d (patch) | |
tree | 53168212f427afbcf0693b534530a4af803152e9 /user/perl-net-dbus/APKBUILD | |
parent | a63cc05c53a6f4c22422dc8c69808b14d87a6f6e (diff) | |
parent | da5a69b65a8791fffa6e93366ee585f87eff136d (diff) | |
download | packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.gz packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.bz2 packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.xz packages-9297468fa579836e3a6a381b798feb6b78217c2d.zip |
Merge branch 'master' into zfs
Diffstat (limited to 'user/perl-net-dbus/APKBUILD')
-rw-r--r-- | user/perl-net-dbus/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-net-dbus/APKBUILD b/user/perl-net-dbus/APKBUILD new file mode 100644 index 000000000..7291dbaa2 --- /dev/null +++ b/user/perl-net-dbus/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-net-dbus +_pkgreal=Net-DBus +_author=DANBERR +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=1.2.0 +pkgrel=0 +pkgdesc="Perl interface for dbus" +url="https://metacpan.org/release/Net-DBus" +arch="all" +license="GPL-2.0+ OR Artistic-1.0-Perl" +depends="perl perl-xml-twig" +checkdepends="perl-cpan-changes perl-test-pod perl-test-pod-coverage" +makedepends="dbus-dev perl-dev perl-extutils-pkgconfig" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$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="9dc95288ae81037985020e18db33331de6908b1280fc3b0ca898c183a5b577d21d240f4f1045393f9459a9be6e3425feffa9ea581e6af2bcf165cdf48348b255 Net-DBus-1.2.0.tar.gz" |