updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / perl-filesys-notify-simple / PKGBUILD
blob2b497f72a6db3036635b7149e4e75254b8d74c32
1 # Contributor: Christian Sturm <reezer@reezer.org>
2 pkgname=perl-filesys-notify-simple
3 pkgver=0.08
4 pkgrel=1
5 pkgdesc="Simple and dumb file system watcher"
6 arch=(any)
7 url="https://metacpan.org/release/Filesys-Notify-Simple"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0')
10 options=(!emptydirs)
11 install=
12 source=(http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Filesys-Notify-Simple-$pkgver.tar.gz)
13 md5sums=('82a1ae968a457c7dc37367ab43a97da8')
15 build() {
16   cd "$srcdir/Filesys-Notify-Simple-$pkgver"
18   # install module in vendor directories.
19   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
20   make || return 1
21   make install DESTDIR="$pkgdir/" || return 1
23   # remove perllocal.pod and .packlist
24   find "$pkgdir" -name perllocal.pod -delete
25   find "$pkgdir" -name .packlist -delete
28 # vim:set ts=2 sw=2 et: