27 lines
772 B
Bash
27 lines
772 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
# Maintainter: Tobias Dausend <throgh@hyperbola.info>
|
|
|
|
pkgname=perl-sub-install
|
|
pkgver=0.928
|
|
pkgrel=1
|
|
pkgdesc="Install subroutines into packages easily"
|
|
arch=('any')
|
|
url="https://metacpan.org/release/Sub-Install"
|
|
license=('GPL-1')
|
|
depends=('perl')
|
|
options=('!emptydirs')
|
|
source=(https://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Install-$pkgver.tar.gz)
|
|
sha512sums=('3f25df9f5992075968830d4235e9f6520c526331b9180391e41483241d43253a61ad8dc381d77aaeb6c6fb841cfc5c097598e62abb46208894275c393a133ade')
|
|
|
|
build() {
|
|
cd Sub-Install-$pkgver
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd Sub-Install-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
}
|