blob: a6878c4ab64c0ffc1f8661d4a187e731ffce5347 (
plain)
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
36
|
# Mantainer: 3ED <krzysztof1987 at gmail dot com>
pkgname=perl-net-mpd
_lastauthor=A/AB/ABERNDT
_pkgname=Net-MPD
pkgver=0.07
pkgrel=1
pkgdesc="a lightweight replacment for Audio::MPD"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
makedepends=('perl-module-build-tiny')
checkdepends=('perl-test-harness>=3.29')
url="https://metacpan.org/release/${_pkgname}"
source=(https://cpan.metacpan.org/authors/id/${_lastauthor}/${_pkgname}-${pkgver}.tar.gz)
sha256sums=('3382fb9c6f5c25de2628f5614429fa8a00791521678c42da068c99e7b294e953')
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
cd "${srcdir}/${_pkgname}-${pkgver}"
perl Build.PL
perl Build
}
check() {
cd "${srcdir}/${_pkgname}-${pkgver}"
perl Build test
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
perl Build install
}
|