updated on Thu Jan 12 16:09:17 UTC 2012
[aur-mirror.git] / empty / PKGBUILD
blobefac26b2bc219b8bc075cb31d15d70a9667cbef0
1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
2 # Contributor: Jeremy Cowgar <jeremy@cowgar.com>
4 pkgname=empty
5 pkgver=0.6.18b
6 pkgrel=1
7 pkgdesc="Run applications under pseudo-terminal sessions"
8 arch=('i686' 'x86_64')
9 url="http://empty.sourceforge.net/"
10 license=('custom')
11 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tgz)
12 md5sums=('2cf5e1b8ff58c41b63738bdc7c24fbc2')
14 build() {
15   cd ${srcdir}/$pkgname-$pkgver
17 # man pages to the right location
18   sed -e 's|/man/man1|/share/man/man1|g' -i Makefile || return 1
20   make || return 1
21   make PREFIX=${pkgdir}/usr install || return 1
23 # license file
24   install -D -m644 COPYRIGHT ${pkgdir}/usr/share/licenses/$pkgname/COPYRIGHT || return 1
26 # docs
27   install -D -m644 CHANGELOG ${pkgdir}/usr/share/doc/$pkgname/CHANGELOG || return 1
28   install -D -m644 README ${pkgdir}/usr/share/doc/$pkgname/README || return 1