summaryrefslogtreecommitdiff
path: root/community/moreutils/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/moreutils/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/moreutils/PKGBUILD')
-rw-r--r--community/moreutils/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/moreutils/PKGBUILD b/community/moreutils/PKGBUILD
new file mode 100644
index 000000000..c2a552c34
--- /dev/null
+++ b/community/moreutils/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 90575 2013-05-13 09:53:46Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
+
+pkgname=moreutils
+pkgver=0.48
+pkgrel=1
+pkgdesc="A growing collection of the unix tools that nobody thought to write thirty years ago"
+arch=('i686' 'x86_64')
+url="http://joeyh.name/code/moreutils/"
+license=('GPL')
+makedepends=('docbook2x' 'docbook-xml' 'perl-xml-sax')
+depends=('perl' 'perl-ipc-run' 'perl-timedate' 'perl-time-duration')
+options=('!emptydirs' 'zipman')
+replaces=(moreutils-svn)
+source=(http://ftp.de.debian.org/debian/pool/main/m/moreutils/moreutils_$pkgver.tar.gz)
+md5sums=('c6f1eb13132a88ce053be709aa2625d2')
+
+build() {
+ cd $srcdir/$pkgname
+ sed -i 's|schema/dtd/4.4|xml-dtd-4.5|g' *.docbook
+ make DOCBOOK2XMAN=docbook2man
+}
+
+package() {
+ cd $srcdir/$pkgname
+ make PREFIX=$pkgdir/usr install
+ chmod 0644 $pkgdir/usr/share/man/man1/*
+
+ mv $pkgdir/usr/share/man/man1/ts.1 $pkgdir/usr/share/man/man1/ts.1moreutils
+
+ mv $pkgdir/usr/share/man/man1/parallel.1 $pkgdir/usr/share/man/man1/parallel-moreutils.1
+ mv $pkgdir/usr/bin/parallel $pkgdir/usr/bin/parallel-moreutils
+}