summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d2e467ad47b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
+
+pkgname=perl-linux-smaps
+_pkgname=Linux-Smaps
+pkgver=0.13
+pkgrel=1
+pkgdesc='Linux::Smaps - a Perl interface to /proc/PID/smaps'
+arch=('i686' 'x86_64')
+license=('GPL' 'PerlArtistic')
+url="http://search.cpan.org/dist/${_pkgname}/"
+depends=('perl' 'perl-class-member')
+changelog="ChangeLog"
+options=(!emptydirs)
+source=(http://search.cpan.org/CPAN/authors/id/O/OP/OPI/${_pkgname}-$pkgver.tar.gz)
+md5sums=('28bbe178b1b26935c454fa8ccdd16929')
+
+build() {
+ cd $srcdir/${_pkgname}-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd $srcdir/${_pkgname}-$pkgver
+ make install DESTDIR=$pkgdir
+}