blob: 31191ea798f6ce3c0ac21896fe719093c13ceff9 (
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
|
# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >
pkgname=perl-getopt-long
pkgver=2.58
pkgrel=1
pkgdesc="Extended processing of command line options"
arch=('any')
url="https://metacpan.org/dist/Getopt-Long"
license=('PerlArtistic' 'GPL')
depends=('perl')
source=("https://cpan.metacpan.org/authors/id/J/JV/JV/Getopt-Long-${pkgver}.tar.gz")
sha512sums=('c673b82a819533310d5697be7e0b009ed39fd02873d17b3f0e1eebab790c58faf5e0a6b1d79bf274e3ee9d35d43b355988dccae56ec9fcbc6822bcae7d7e2ef6')
build() {
cd "${srcdir}/Getopt-Long-${pkgver}"
perl Makefile.PL NO_PACKLIST=true NO_PERLLOCAL=true
make
}
check() {
cd "${srcdir}/Getopt-Long-${pkgver}"
make test
}
package() {
cd "${srcdir}/Getopt-Long-${pkgver}"
make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
}
|