Browse Source

perl-term-vt102: make a bit more clean

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

6
perl-term-vt102/PKGBUILD

@ -12,18 +12,18 @@ source=(http://search.cpan.org/CPAN/authors/id/A/AJ/AJWOOD/${_realname}-$pkgver.
md5sums=('210cfacde8d82005a3f08748e0ca8631')
build() {
cd "${srcdir}/Term-VT102-$pkgver"
cd "${srcdir}/${_realname}-$pkgver"
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "${srcdir}/Term-VT102-$pkgver"
cd "${srcdir}/${_realname}-$pkgver"
make test
}
package() {
cd "${srcdir}/Term-VT102-$pkgver"
cd "${srcdir}/${_realname}-$pkgver"
make DESTDIR="${pkgdir}" install
install -d "${pkgdir}/usr/share/licenses/$pkgname/"
cp "COPYING" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"

Loading…
Cancel
Save