Misc packages for Arch Linux
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
754 B

pkgname=perl-term-vt102
_realname=Term-VT102
pkgver=0.91
pkgrel=4
pkgdesc="A class to emulate a DEC VT102 terminal"
arch=('any')
license=('custom')
depends=('perl' 'glibc')
url="http://search.cpan.org/~ajwood/${_realname}-${pkgver}/"
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/A/AJ/AJWOOD/${_realname}-$pkgver.tar.gz)
md5sums=('210cfacde8d82005a3f08748e0ca8631')
build() {
cd "${srcdir}/${_realname}-$pkgver"
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "${srcdir}/${_realname}-$pkgver"
make test
}
package() {
cd "${srcdir}/${_realname}-$pkgver"
make DESTDIR="${pkgdir}" install
install -d "${pkgdir}/usr/share/licenses/$pkgname/"
cp "COPYING" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}