updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / perl-db_file-lock / PKGBUILD
blob7a0e060529051bac97a4bcd21d494d0473daec3a
1 # Maintainer: Brian De Wolf <arch@bldewolf.com>
2 pkgname=perl-db_file-lock
3 pkgver=0.05
4 pkgrel=1
5 pkgdesc="Locking with flock wrapper for DB_File"
6 arch=(any)
7 url="http://search.cpan.org/dist/DB_File-Lock/"
8 license=('Unknown')
9 depends=('perl>=5.10.0')
10 makedepends=()
11 provides=()
12 conflicts=()
13 replaces=()
14 backup=()
15 options=(!emptydirs)
16 install=
17 source=(http://search.cpan.org/CPAN/authors/id/D/DH/DHARRIS/DB_File-Lock-$pkgver.tar.gz)
18 md5sums=('8be62f30cd8b395b870b492c981d223b')
20 build() {
21   cd "$srcdir/DB_File-Lock-$pkgver"
23   # install module in vendor directories.
24   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
25   make
26   
27   ## for packages with Build.PL, do this instead:
28   # perl Build.PL installdirs=vendor destdir="$pkgdir/"
29   # perl Build
32 package() {
33   cd "$srcdir/DB_File-Lock-$pkgver"
34   make install DESTDIR="$pkgdir/"
36   ## for packages with Build.PL, do this instead:
37   # perl Build install
40 # vim:set ts=2 sw=2 et: