29 lines
998 B
Bash
29 lines
998 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=perl-term-animation
|
|
pkgver=2.6
|
|
pkgrel=1
|
|
pkgdesc='Perl/CPAN Module Term::Animation'
|
|
arch=('any')
|
|
url='https://search.cpan.org/dist/Term-Animation'
|
|
license=('GPL-1')
|
|
depends=('perl-curses')
|
|
source=("https://www.cpan.org/authors/id/K/KB/KBAUCOM/Term-Animation-$pkgver.tar.gz"
|
|
"LICENSE")
|
|
sha512sums=('5d2c3e18e70d19fead2a2ad2d09bfb03f3f3d569f472ea43449799c089254a14ee9c4e695d5c93bda2a30d6e7538566c16a522ceac3c747a5cf0e522f21f1e18'
|
|
'69a4fcc25a2b6e2dfe09d4c075529e93c83937c6ae65933528620e33e4983391ba32f3a135747a8395d6e6f17898560257e800cbea9076a66d8bdf90fb15aa07')
|
|
|
|
build() {
|
|
cd "$srcdir"/Term-Animation-$pkgver
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir"/Term-Animation-$pkgver
|
|
make install DESTDIR="$pkgdir"
|
|
find "$pkgdir" -name '.packlist' -delete
|
|
find "$pkgdir" -name '*.pod' -delete
|
|
install -Dm644 "${srcdir}"/LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname"
|
|
}
|