diff options
author | aksr | 2015-11-04 17:04:54 +0100 |
---|---|---|
committer | aksr | 2015-11-04 17:04:54 +0100 |
commit | 06fa37066a718581bcc5534fd6dcdc6f0fa110cf (patch) | |
tree | 8b7d8032013d9da4b710d3a8cc8e88c453eff42f | |
download | aur-06fa37066a718581bcc5534fd6dcdc6f0fa110cf.tar.gz |
Start.
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | 000-config.diff | 32 | ||||
-rw-r--r-- | PKGBUILD | 41 |
3 files changed, 93 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4d6798b8f745 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = heirloom-sh-cvs + pkgdesc = Traditional sh [jsh(1)], derived from OpenSolaris code. CVS repository + pkgver = 2011.06.22 + pkgrel = 1 + url = http://heirloom.sourceforge.net/sh.html + arch = i686 + arch = x86_64 + license = custom:"caldera" + license = custom:"opensolaris" + makedepends = cvs + provides = sh + provides = heirloom-sh + replaces = heirloom-sh + source = 000-config.diff + md5sums = 991b32bee780ce48685dfd4d39d41443 + sha1sums = 0119962358fce0b5ba88eab750d1ef2d91402428 + sha256sums = f0452b9fb1c58a6f0fba6d49bcd7598f875c94f64ddd8b60bb8ab12bbbaf7c9b + +pkgname = heirloom-sh-cvs + diff --git a/000-config.diff b/000-config.diff new file mode 100644 index 000000000000..10f5e4dba0fe --- /dev/null +++ b/000-config.diff @@ -0,0 +1,32 @@ +--- heirloom-sh/makefile.orig 2010-12-16 02:22:05.400000007 -0430 ++++ heirloom-sh/makefile 2010-12-16 02:24:37.463333339 -0430 +@@ -1,3 +1,5 @@ ++PREFIX=/usr/heirloom ++ + # + # Root directory. Mainly useful for package building; leave empty for + # normal installation. +@@ -7,12 +9,12 @@ + # + # The destination directory for the "sh" and "jsh" binaries. + # +-SV3BIN=/usr/5bin ++SV3BIN=$(PREFIX)/bin + + # + # Location for manual pages (with man1 below). + # +-MANDIR=/usr/share/man/5man ++MANDIR=$(PREFIX)/share/man + + # + # Enable this definition if spell checking should be done for the +@@ -23,7 +25,7 @@ + # + # A BSD-compatible install command. + # +-UCBINST=/usr/ucb/install ++UCBINST=install + + # + # The strip command that is used at installation time. diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..84fe419e2eed --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Jens Staal <staal1978 at gmail dot com> +# Contributor: Sascha Biermmanns <saschakb at gmail dot com> +# Contributor: Daniel Leidisch <spam@leidisch.net> +# Updated by: Jens Staal <staal1978@gmail.com> +# Maintainer: aksr <aksr at t-com dot me> +pkgname=heirloom-sh-cvs +pkgver=2011.06.22 +pkgrel=1 +pkgdesc="Traditional sh [jsh(1)], derived from OpenSolaris code. CVS repository" +arch=('i686' 'x86_64') +url="http://heirloom.sourceforge.net/sh.html" +license=('custom:"caldera"' 'custom:"opensolaris"') +provides=('sh' 'heirloom-sh') +replaces=('heirloom-sh') +makedepends=('cvs') +conflicts=() +source=('000-config.diff') +md5sums=('991b32bee780ce48685dfd4d39d41443') +sha1sums=('0119962358fce0b5ba88eab750d1ef2d91402428') +sha256sums=('f0452b9fb1c58a6f0fba6d49bcd7598f875c94f64ddd8b60bb8ab12bbbaf7c9b') + +prepare() { + cvs -d:pserver:anonymous:@heirloom.cvs.sourceforge.net:/cvsroot/heirloom login + cvs -d:pserver:anonymous:@heirloom.cvs.sourceforge.net:/cvsroot/heirloom co -P heirloom-sh + rm -rf $srcdir/build #starting fresh + cp -ar $srcdir/heirloom-sh $srcdir/build + cd $srcdir/build + patch -p1 < ../000-config.diff +} + +build() { + cd $srcdir/build + make +} +package() { + cd $srcdir/build + make install ROOT="$pkgdir" + mkdir -p $pkgdir/usr/share/licenses/$pkgname/ + install -m644 CALDERA.LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/CALDERA +} + |