mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
testing/perl-net-mpd: new aport
This commit is contained in:
parent
46393d2a74
commit
c7c6a2b9a2
1 changed files with 37 additions and 0 deletions
37
testing/perl-net-mpd/APKBUILD
Normal file
37
testing/perl-net-mpd/APKBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Automatically generated by apkbuild-cpan, template 2
|
||||
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
||||
# Maintainer: Leo <thinkabit.ukim@gmail.com>
|
||||
pkgname=perl-net-mpd
|
||||
_pkgreal=Net-MPD
|
||||
pkgver=0.07
|
||||
pkgrel=0
|
||||
pkgdesc="Communicate with an MPD server"
|
||||
url="https://metacpan.org/release/Net-MPD/"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="mpd"
|
||||
makedepends="perl-dev perl-module-build-tiny"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/A/AB/ABERNDT/Net-MPD-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
build() {
|
||||
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \
|
||||
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
|
||||
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
|
||||
MODULEBUILDRC=/dev/null CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
|
||||
perl Build.PL
|
||||
./Build
|
||||
}
|
||||
|
||||
check() {
|
||||
./Build test
|
||||
}
|
||||
|
||||
package() {
|
||||
./Build install --destdir="$pkgdir" --prefix=/usr
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
sha512sums="8864cfcfa5fa22ccc32feea73644217611957aeb5fe2f3b35c389f8e8488887d589bc3f2ac794e4374bbe75134e60832d920dba22f31fbe513e688da70fec1e2 Net-MPD-0.07.tar.gz"
|
Loading…
Add table
Add a link
Reference in a new issue