summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Adam2015-07-16 16:46:02 +0200
committerJens Adam2015-07-16 16:46:02 +0200
commit7f92641317a85916bfe21dc3be0efecc63d9c895 (patch)
treef7d2da08457b05e1eed93854395acef387cf9250
downloadaur-7f92641317a85916bfe21dc3be0efecc63d9c895.tar.gz
perl-term-size: initial commit of adopted, unmodified PKGBUILD
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD24
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..364b84cb78a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = perl-term-size
+ pkgdesc = provides a straightforward way to get the size of the terminal, or window, on which a script is running
+ pkgver = 0.2
+ pkgrel = 2
+ url = http://search.cpan.org/dist/Term-Size/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ license = PerlArtistic
+ depends = perl
+ options = !emptydirs
+ source = http://www.cpan.org/authors/id/T/TI/TIMPX/Term-Size-0.2.tar.gz
+ md5sums = 982b5df8351e7654a42b7bffc0bf1d57
+
+pkgname = perl-term-size
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e54adf95fda
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# 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 $srcdir/Term-Size-$pkgver
+ # Install into vendor directory
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd $srcdir/Term-Size-$pkgver
+ make DESTDIR=$pkgdir install
+}