initial import
This commit is contained in:
32
perl-http-negotiate/PKGBUILD
Normal file
32
perl-http-negotiate/PKGBUILD
Normal file
@@ -0,0 +1,32 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-http-negotiate
|
||||
pkgver=6.01
|
||||
pkgrel=3
|
||||
pkgdesc="Choose a variant to serve"
|
||||
arch=('any')
|
||||
url="https://search.cpan.org/dist/HTTP-Negotiate"
|
||||
license=('GPL-1')
|
||||
depends=('perl' 'perl-http-message')
|
||||
options=('!emptydirs')
|
||||
source=(https://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Negotiate-$pkgver.tar.gz
|
||||
COPYING)
|
||||
sha512sums=('2651010f0d989fb255d37a0e4585de4779edcccd59fcad7d7f5ccc7d2c2ec420060324beebc880664d6c0d29193ce62f2d21cb6332bbfa0a3adacfa632876617'
|
||||
'e239b539f2c46c1ae3da87c4983a0fda67dc8ae622d607b507b5c523af3bdf99e7bea8931e3a7c6007910bfe9e21a761e03e8203de95b5aceea425a97d0a84c9')
|
||||
|
||||
build() {
|
||||
cd HTTP-Negotiate-$pkgver
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd HTTP-Negotiate-$pkgver
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd HTTP-Negotiate-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 $srcdir/COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
|
||||
}
|
||||
Reference in New Issue
Block a user