updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-ouch / PKGBUILD
blob598be3bcab6483fc802ffa74c53fe82cb41a6195
1 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
2 pkgname=perl-ouch
3 pkgver=0.0401
4 pkgrel=1
5 pkgdesc="Perl module for exceptions that don't hurt"
6 arch=("any")
7 url="http://search.cpan.org/dist/Ouch/"
8 license=("GPL" "PerlArtistic")
9 depends=("perl")
10 checkdepends=("perl-test-trap")
11 source=(http://search.cpan.org/CPAN/authors/id/R/RI/RIZEN/Ouch-$pkgver.tar.gz)
12 md5sums=("c60aac3b0ed7438ef3a68b66fb222de3")
14 build() {
15   cd "$srcdir/Ouch-$pkgver"
16   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
17   make
20 check() {
21   cd "$srcdir/Ouch-$pkgver"
22   make test
25 package() {
26   cd "$srcdir/Ouch-$pkgver"
27   make install DESTDIR="$pkgdir"