mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
23 lines
763 B
Bash
23 lines
763 B
Bash
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
|
|
# Contributor: François Charette <firmicus ατ gmx δοτ net>
|
|
|
|
pkgname=perl-http-server-simple
|
|
pkgver=0.41
|
|
pkgrel=1
|
|
pkgdesc="Lightweight HTTP server "
|
|
arch=(any)
|
|
url="http://search.cpan.org/dist/HTTP-Server-Simple"
|
|
license=('GPL' 'PerlArtistic')
|
|
depends=('perl-uri')
|
|
options=('!emptydirs')
|
|
source=(http://www.cpan.org/authors/id/J/JE/JESSE/HTTP-Server-Simple-$pkgver.tar.gz)
|
|
md5sums=('5c9ddbba7b492a60000af4c29ee0eeac')
|
|
|
|
build() {
|
|
cd $srcdir/HTTP-Server-Simple-$pkgver
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=$pkgdir || return 1
|
|
find $pkgdir -name '.packlist' -delete
|
|
find $pkgdir -name '*.pod' -delete
|
|
}
|