updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / heirloom-pkgtools / PKGBUILD
blob07a2733d6baa7d8220abcc0d32d0514a2421045f
1 # Contributor: Daniel Leidisch <spam@leidisch.net>
2 # Updated by: Jens Staal <staal1978@gmail.com>
3 # $Id: PKGBUILD,v 1.14 2010/12/17 21:45:33 andres Exp $
5 pkgname="heirloom-pkgtools"
6 pkgver=070227
7 pkgrel=4
8 pkgdesc="SVR4 application packaging tools ported to Linux, as released by Sun"
9 arch=('i686' 'x86_64')
10 url="http://heirloom.sourceforge.net/pkgtools.html"
11 license=('BSD' 'CDDL')
12 makedepends=('heirloom-devtools')
13 depends=('heirloom-sh')
14 conflicts=("$pkgname-cvs")
15 source=("http://sourceforge.net/projects/heirloom/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"
16         '000-config.diff')
17 md5sums=('73573e701dce801ab4b25a5e38059d29'
18          'ecc1692d04dd534fa374e1201984f9cd')
20 _hmake() {
21         env PATH="/usr/heirloom/bin:$PATH" MAKEFLAGS="" make "$@"
24 build() {
25         cd "$pkgname-$pkgver"
26         
27         patch -p1 < ../000-config.diff
29         _hmake
32 package() {
33         cd "$pkgname-$pkgver"
35         _hmake install ROOT="$pkgdir"
37         install -Dm644 LICENSE/CALDERA.LICENSE \
38                 "$pkgdir"/usr/share/licenses/"$pkgname"/CALDERA