blob: d548da25a7f0d42d58096b0411b3c97327bc7a2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $Id: PKGBUILD 96061 2013-08-19 13:38:56Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
pkgname=moreutils
pkgver=0.49
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=('29b49e70fec35b28df24b25eb3e0fd29')
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
}
|