initial import
This commit is contained in:
30
perl-http-date/PKGBUILD
Normal file
30
perl-http-date/PKGBUILD
Normal file
@@ -0,0 +1,30 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-http-date
|
||||
pkgver=6.05
|
||||
pkgrel=1
|
||||
pkgdesc="Date conversion routines"
|
||||
arch=('any')
|
||||
url="https://search.cpan.org/dist/HTTP-Date"
|
||||
license=('GPL-1')
|
||||
depends=('perl-timedate')
|
||||
options=('!emptydirs')
|
||||
source=(https://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/HTTP-Date-$pkgver.tar.gz)
|
||||
sha512sums=('08a427a860161cd0d7a34a4fa3eb6bf6439c2504478a308ff560de0e6620c20df46f004cfcb719e3d19e35fdb650728d6983ffce1423f4d9da06f91d85c7b927')
|
||||
|
||||
build() {
|
||||
cd HTTP-Date-$pkgver
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd HTTP-Date-$pkgver
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd HTTP-Date-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
||||
Reference in New Issue
Block a user