Updated.
Search Criteria
Package Details: perl-term-size 0.2-2
Package Actions
| Package Base: | perl-term-size |
|---|---|
| Description: | provides a straightforward way to get the size of the terminal, or window, on which a script is running |
| Upstream URL: | http://search.cpan.org/dist/Term-Size/ |
| Category: | lib |
| Licenses: | |
| Submitter: | nirev |
| Maintainer: | nirev |
| Last Packager: | None |
| Votes: | 5 |
| First Submitted: | 2008-07-18 20:36 |
| Last Updated: | 2013-06-05 06:11 |
Dependencies (1)
Required by (3)
Sources
Latest Comments
Comment by nirev
Comment by smls
Yes, please update (or orphan if you don't want to maintain the package anymore).
The current version of the PKGBUILD does not work; duckunix's version works.
Comment by duckunix
The PKGBUILD needs to be updated to current pacman.
This works:
# Contributor: Guilherme M. Nogueira <guilherme@nirev.org>
pkgname=perl-term-size
pkgver=0.2
pkgrel=2
pkgdesc="provides a straightforward way to get the size of the terminal, or window, on which a script is running"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/Term-Size/"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/T/TI/TIMPX/Term-Size-$pkgver.tar.gz)
md5sums=('982b5df8351e7654a42b7bffc0bf1d57')
build() {
cd $startdir/src/Term-Size-$pkgver
# Install into vendor directory
perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd ${srcdir}/Term-Size-$pkgver
make DESTDIR=${pkgdir} install
}