mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
23 lines
723 B
Bash
23 lines
723 B
Bash
|
# Contributor: François Charette <firmicus ατ gmx δοτ net>
|
||
|
|
||
|
pkgname=perl-config-tiny
|
||
|
pkgver=2.12
|
||
|
pkgrel=2
|
||
|
pkgdesc="Read/Write .ini style files with as little code as possible "
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://search.cpan.org/~ADAMK/Config-Tiny"
|
||
|
license=('GPL' 'PerlArtistic')
|
||
|
depends=('perl>=5.10')
|
||
|
options=('!emptydirs')
|
||
|
source=(http://www.cpan.org/authors/id/A/AD/ADAMK/Config-Tiny-$pkgver.tar.gz)
|
||
|
md5sums=('1df5a4ff37cd1d80532ddbe28015d1f0')
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}/Config-Tiny-$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
|
||
|
}
|