diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-26 15:13:41 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-26 15:13:41 -0500 |
commit | d26fb8dc20ba3b0e6ef535761b3ac5fd8e7b7c70 (patch) | |
tree | ae84713aa59e8e2eaa4a2a19db89294ea0b4c1cf /extra/pdksh/PKGBUILD | |
parent | 2095d71af1b9e0c1dff405c178a9481d1020ca3e (diff) | |
parent | 8999fa1750304fb2367fb7743e49e013405e88be (diff) |
Merge branch 'master' of vparabola:~/abslibre-pre-mips64el
Conflicts:
community/distcc/PKGBUILD
community/lxtask/PKGBUILD
community/ushare/PKGBUILD
extra/catdoc/PKGBUILD
extra/curl/PKGBUILD
extra/ethstatus/PKGBUILD
extra/ffcall/PKGBUILD
extra/gimp-dbp/PKGBUILD
extra/gimp-refocus/PKGBUILD
extra/gstreamer0.10-ugly/PKGBUILD
extra/metacity/PKGBUILD
extra/pulseaudio/PKGBUILD
extra/x2x/PKGBUILD
libre/kernel26-libre/PKGBUILD
multilib/lib32-libpulse/PKGBUILD
multilib/wine/PKGBUILD
testing/alex/PKGBUILD
testing/ghc/PKGBUILD
testing/haskell-cgi/PKGBUILD
testing/haskell-deepseq/PKGBUILD
testing/haskell-fgl/PKGBUILD
testing/haskell-glut/PKGBUILD
testing/haskell-haskell-src/PKGBUILD
testing/haskell-html/PKGBUILD
testing/haskell-http/PKGBUILD
testing/haskell-hunit/PKGBUILD
testing/haskell-mtl/PKGBUILD
testing/haskell-network/PKGBUILD
testing/haskell-opengl/PKGBUILD
testing/haskell-parallel/PKGBUILD
testing/haskell-parsec/PKGBUILD
testing/haskell-platform/PKGBUILD
testing/haskell-quickcheck/PKGBUILD
testing/haskell-regex-base/PKGBUILD
testing/haskell-regex-compat/PKGBUILD
testing/haskell-regex-posix/PKGBUILD
testing/haskell-stm/PKGBUILD
testing/haskell-syb/PKGBUILD
testing/haskell-text/PKGBUILD
testing/haskell-transformers/PKGBUILD
testing/haskell-xhtml/PKGBUILD
testing/haskell-zlib/PKGBUILD
testing/perl/ChangeLog
testing/perl/PKGBUILD
testing/perl/perlbin.sh
testing/pidgin/PKGBUILD
testing/spamassassin/PKGBUILD
Diffstat (limited to 'extra/pdksh/PKGBUILD')
-rw-r--r-- | extra/pdksh/PKGBUILD | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/extra/pdksh/PKGBUILD b/extra/pdksh/PKGBUILD index 9d37d2cff..6e73d7e3b 100644 --- a/extra/pdksh/PKGBUILD +++ b/extra/pdksh/PKGBUILD @@ -1,27 +1,31 @@ -# $Id: PKGBUILD 30639 2009-03-21 04:22:46Z eric $ +# $Id: PKGBUILD 128476 2011-06-24 03:30:58Z eric $ # Maintainer: Aaron Griffin <aaron@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=pdksh pkgver=5.2.14 -pkgrel=5 +pkgrel=6 pkgdesc="A public domain clone of the AT&T Korn shell" arch=('i686' 'x86_64' 'mips64el') url="http://www.cs.mun.ca/~michael/pdksh/" license=('custom') depends=('glibc') -install=$pkgname.install -source=(ftp://ftp.cs.mun.ca/pub/$pkgname/$pkgname-$pkgver.tar.gz $pkgname-$pkgver.patch usr_ksh.sh) +install=pdksh.install +#ftp://ftp.cs.mun.ca/pub/$pkgname/$pkgname-$pkgver.tar.gz +source=(http://www.cs.mun.ca/~michael/pdksh/files/$pkgname-$pkgver.tar.gz pdksh-5.2.14.patch usr_ksh.sh) md5sums=('871106b3bd937e1afba9f2ef7c43aef3' 'f11d1e711627d21a547c09e344e30dd3'\ '56084a657ecafd5dd0813a6056036712') build() { - cd $srcdir/$pkgname-$pkgver - patch -Np1 -i ../$pkgname-$pkgver.patch || return 1 - ./configure --prefix=/ --mandir=/usr/share/man || return 1 - make || return 1 - make prefix=$pkgdir mandir=$pkgdir/usr/share/man/man1 install || return 1 - install -D -m 755 ${srcdir}/usr_ksh.sh ${pkgdir}/usr/bin/ksh || return 1 - install -D -m644 LEGAL $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1 + cd "$srcdir/$pkgname-$pkgver" + patch -Np1 -i ../$pkgname-$pkgver.patch + ./configure --prefix=/ --mandir=/usr/share/man + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make prefix="$pkgdir" mandir="$pkgdir/usr/share/man/man1" install + install -D -m 755 "${srcdir}/usr_ksh.sh" "${pkgdir}/usr/bin/ksh" + install -D -m644 LEGAL "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } -# vim: ts=2 sw=2 et ft=sh |