summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-package-deprecationmanager/PKGBUILD
blob: 9907a067c6e215ef652f433f2ca17b5f0be3ace6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Jonathan Steel <jsteel@aur.archlinux.org>
# Contributor: Justin Davis (juster) <jrcd83@gmail.com>

pkgname=perl-package-deprecationmanager
pkgver=0.17
pkgrel=3
pkgdesc="Manage deprecation warnings for your distribution"
arch=('any')
license=('Artistic2.0')
depends=('perl-params-util' 'perl-sub-install' 'perl-sub-name' 'perl-package-stash'
         'perl-module-implementation' 'perl-namespace-autoclean')
checkdepends=('perl-test-fatal' 'perl-test-warnings')
options=('!emptydirs')
url="https://metacpan.org/release/Package-DeprecationManager"
source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Package-DeprecationManager-$pkgver.tar.gz)
md5sums=('7b46e92aaae3047ede3c67c1714ab88e')

build() {
  cd "$srcdir"/Package-DeprecationManager-$pkgver
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd "$srcdir"/Package-DeprecationManager-$pkgver
  make test
}

package() {
  cd "$srcdir"/Package-DeprecationManager-$pkgver
  make install DESTDIR="$pkgdir"
}