Browse Source

perl-term-vt102: added to repo

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
master
Steven Noonan 9 years ago
parent
commit
4bf28725e1
No known key found for this signature in database GPG Key ID: 7EACB44BA7B30DB9
  1. 1
      perl-term-vt102/.gitignore
  2. 36
      perl-term-vt102/PKGBUILD

1
perl-term-vt102/.gitignore

@ -0,0 +1 @@
/*.tar.gz

36
perl-term-vt102/PKGBUILD

@ -0,0 +1,36 @@
# $Id: PKGBUILD 186417 2013-05-26 09:25:44Z bluewind $
# Maintainer:
# Contributor: kevin <kevin@archlinux.org>
# Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
# Contributor: Francois Charette <francois.archlinux.org>
pkgname=perl-term-vt102
_realname=Term-VT102
pkgver=0.91
pkgrel=1
pkgdesc="A class to emulate a DEC VT102 terminal"
arch=('i686' 'x86_64')
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}/Term-VT102-$pkgver"
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "${srcdir}/Term-VT102-$pkgver"
make test
}
package() {
cd "${srcdir}/Term-VT102-$pkgver"
make DESTDIR="${pkgdir}" install
install -d "${pkgdir}/usr/share/licenses/$pkgname/"
cp "COPYING" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}
Loading…
Cancel
Save