summaryrefslogtreecommitdiff
path: root/community/moreutils/PKGBUILD
blob: 3b6f9142cb5e90d0df86f24bc95f75935c5a7d50 (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
# $Id: PKGBUILD 60349 2011-12-11 20:19:24Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>

pkgname=moreutils
pkgver=0.45
pkgrel=2
pkgdesc="A growing collection of the unix tools that nobody thought to write thirty years ago"
arch=('i686' 'x86_64')
url="http://kitenet.net/~joey/code/moreutils.html"
license=('GPL')
makedepends=('docbook2x' 'docbook-xml' 'perl-xml-sax')
depends=('perl')
optdepends=('perl-timedate' 'perl-time-duration' 'perl-ipc-run')
options=('!emptydirs' 'zipman')
replaces=(moreutils-svn)
source=(http://ftp.de.debian.org/debian/pool/main/m/moreutils/moreutils_$pkgver.tar.gz)
md5sums=('b30306cd7312219551b890fbcbf984c4')

build() {
  cd $srcdir/moreutils
  make DOCBOOK2XMAN=docbook2man
  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
}