archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-task-weaken / trunk / PKGBUILD
blob4b54a5fcf31ad1e50492cddabd6f333abbf870f2
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-task-weaken
4 pkgver=1.06
5 pkgrel=5
6 pkgdesc="Ensure that a platform has weaken support"
7 arch=('any')
8 license=('PerlArtistic')
9 url="https://metacpan.org/release/Task-Weaken"
10 depends=('perl')
11 options=('!emptydirs')
12 source=("https://cpan.metacpan.org/authors/id/E/ET/ETHER/Task-Weaken-$pkgver.tar.gz")
13 sha512sums=('2cd723a748c1fb3df12b465ad278070330959c611ed125f54770c2d820202592cc6e46f16ee43671e310abfcf86fe7ffa639db7dd605d69d7d13fca793d59808')
15 build() {
16   cd Task-Weaken-$pkgver
17   perl Makefile.PL INSTALLDIRS=vendor
18   make
21 check() {
22   cd Task-Weaken-$pkgver
23   make test
26 package() {
27   cd Task-Weaken-$pkgver
28   make DESTDIR="$pkgdir" install