summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core/perl_modules/perl-proc-processtable/PKGBUILD35
-rw-r--r--abs/extra/patchutils/PKGBUILD27
2 files changed, 62 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-proc-processtable/PKGBUILD b/abs/core/perl_modules/perl-proc-processtable/PKGBUILD
new file mode 100644
index 0000000..8f5ffc1
--- /dev/null
+++ b/abs/core/perl_modules/perl-proc-processtable/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+
+pkgname=perl-proc-processtable
+pkgver=0.51
+pkgrel=1
+pkgdesc="Provides a consistent interface to process table information."
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/Proc-ProcessTable/"
+license=('PerlArtistic')
+depends=('perl')
+provides=('perl-proc-killall' 'perl-proc-killfam' 'perl-proc-processtable-process')
+options=(!emptydirs)
+source=("http://search.cpan.org/CPAN/authors/id/J/JW/JWB/Proc-ProcessTable-$pkgver.tar.gz")
+md5sums=('711238eb8ce7f5583ffef084d8facceb')
+
+build() {
+ cd "$srcdir/Proc-ProcessTable-$pkgver"
+
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$srcdir/Proc-ProcessTable-$pkgver"
+ make test
+}
+
+package() {
+ cd "$srcdir/Proc-ProcessTable-$pkgver"
+
+ make install DESTDIR="${pkgdir}"
+ find "${pkgdir}" -name perllocal.pod -delete
+ find "${pkgdir}" -name .packlist -delete
+}
diff --git a/abs/extra/patchutils/PKGBUILD b/abs/extra/patchutils/PKGBUILD
new file mode 100644
index 0000000..81b2aef
--- /dev/null
+++ b/abs/extra/patchutils/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id$
+# Contributor: Aurelien Foret <orelien@chez.com>
+# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
+
+pkgname=patchutils
+pkgver=0.3.3
+pkgrel=1
+pkgdesc="A small collection of programs that operate on patch files"
+license=('GPL')
+url="http://cyberelk.net/tim/patchutils/"
+depends=('perl')
+arch=('i686' 'x86_64')
+source=(http://cyberelk.net/tim/data/patchutils/stable/$pkgname-$pkgver.tar.xz)
+md5sums=('b640b6b8af6183f83eacf7bd6d2460cb')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+
+ make DESTDIR=$pkgdir install
+}