summaryrefslogtreecommitdiff
path: root/user/perl-net-dbus/APKBUILD
blob: 7291dbaa20a79e0091fc23b299635c8ef0041fd0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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"