summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.AURINFO16
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD10
3 files changed, 23 insertions, 8 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..ed49931a935
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,16 @@
+pkgbase = perl-linux-smaps
+ pkgdesc = Linux::Smaps - a Perl interface to /proc/PID/smaps
+ pkgver = 0.12
+ pkgrel = 2
+ url = http://search.cpan.org/dist/Linux-Smaps/
+ changelog = ChangeLog
+ arch = any
+ license = GPL
+ license = PerlArtistic
+ depends = perl
+ depends = perl-class-member
+ source = http://search.cpan.org/CPAN/authors/id/O/OP/OPI/Linux-Smaps-0.12.tar.gz
+ options = !emptydirs
+
+pkgname = perl-linux-smaps
+
diff --git a/.SRCINFO b/.SRCINFO
index 6e3648a8d9d..62e6aeda625 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
pkgbase = perl-linux-smaps
pkgdesc = Linux::Smaps - a Perl interface to /proc/PID/smaps
pkgver = 0.12
- pkgrel = 1
+ pkgrel = 2
url = http://search.cpan.org/dist/Linux-Smaps/
changelog = ChangeLog
- arch = i686
- arch = x86_64
+ arch = any
license = GPL
license = PerlArtistic
depends = perl
diff --git a/PKGBUILD b/PKGBUILD
index 94ecab64af8..642494cec81 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=perl-linux-smaps
_pkgname=Linux-Smaps
pkgver=0.12
-pkgrel=1
+pkgrel=2
pkgdesc='Linux::Smaps - a Perl interface to /proc/PID/smaps'
-arch=('i686' 'x86_64')
+arch=('any')
license=('GPL' 'PerlArtistic')
url="http://search.cpan.org/dist/${_pkgname}/"
depends=('perl' 'perl-class-member')
@@ -15,12 +15,12 @@ source=(http://search.cpan.org/CPAN/authors/id/O/OP/OPI/${_pkgname}-$pkgver.tar.
md5sums=('52a50e607f7904e0401ae7dd77ec79b7')
build() {
- cd $srcdir/${_pkgname}-$pkgver
+ cd "$srcdir/${_pkgname}-$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
- cd $srcdir/${_pkgname}-$pkgver
- make install DESTDIR=$pkgdir
+ cd "$srcdir/${_pkgname}-$pkgver"
+ make install DESTDIR="$pkgdir"
}