updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / ksh / PKGBUILD
blobe2a490e25976cbe75af1a9a431ac963b688db005
1 # Maintainer: Dave Reisner <d@falconindy.com>
2 # Contributor: Mark Taylor <skymt0@gmail.com>
3 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
4 # Contributor: xduugu
6 # AT&T requires the user to agree to a license agreement before downloading the
7 # source, so I didn't include the direct URLs in the PKGBUILD. Just visit
8 # 'http://www.research.att.com/~gsf/download/', download
9 # 'ast-ksh.2009-05-05.tgz' and 'INIT.2009-05-05.tgz', and place them in the
10 # same directory as the PKGBUILD before running makepkg
12 pkgname=ksh
13 pkgver=2011.02.08
14 pkgrel=1
15 pkgdesc="AT&T's Korn shell"
16 arch=('i686' 'x86_64')
17 url="http://www.kornshell.com/"
18 license=('CPL')
19 conflicts=('pdksh')
20 source=("INIT.2011-02-08.tgz" "ast-ksh.2011-02-08.tgz")
21 md5sums=('2870a583f7c170d4f67b1d9858d6b091'
22          '5481d41adf067503afbad92d048ff91a')
24 build() {
25   cd "$srcdir"
27   bin/package make
30 package() {
31   cd "$srcdir"
33   # Install manually to avoid nmake dep
34   install -Dm755 arch/linux.*/bin/ksh "$pkgdir/bin/ksh"
35   install -Dm644 "$srcdir/arch/linux.i386-64/man/man1/sh.1" "$pkgdir/usr/share/man/man1/ksh.1"
36   install -Dm644 "$srcdir/lib/package/LICENSES/ast" "$pkgdir/usr/share/licenses/ksh/LICENSE"