diff options
author | aksr | 2015-10-19 19:58:24 +0200 |
---|---|---|
committer | aksr | 2015-10-19 19:58:24 +0200 |
commit | 2158ab92b5c5a1e50c9d8b0de1bd8d87a0a02236 (patch) | |
tree | 7fbaa5970e090d09e9fcacb1755ee6be0df41755 | |
download | aur-2158ab92b5c5a1e50c9d8b0de1bd8d87a0a02236.tar.gz |
Start.
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 55 |
2 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..719f6a0fa5d2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = csnobol4 + pkgdesc = A port of Macro SNOBOL4, supports full SNOBOL4 language plus SPITBOL and other extensions. + pkgver = 1.5 + pkgrel = 2 + url = http://www.snobol4.org/csnobol4/curr/ + arch = i686 + arch = x86_64 + license = GPL + source = ftp://ftp.ultimate.com/snobol/snobol4-1.5.tar.gz + md5sums = 54ac3ddd51fb34ec63b1eb0ae7b99794 + sha1sums = 037a8eeba774b1085cfe8d1a741ec446182e4a9f + sha256sums = 9f7ec649f2d700a30091af3bbd68db90b916d728200f915b1ba522bcfd0d7abd + +pkgname = csnobol4 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d1656146d8bd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,55 @@ +# Contributor: perlawk +# Maintainer: aksr <aksr at t-com dot me> +pkgname=csnobol4 +_pkgname=snobol4 +pkgver=1.5 +pkgrel=2 +pkgdesc="A port of Macro SNOBOL4, supports full SNOBOL4 language plus SPITBOL and other extensions." +url="http://www.snobol4.org/csnobol4/curr/" +arch=('i686' 'x86_64') +license=('GPL') +depends=() +makedepends=() +conflicts=() +replaces=() +backup=() +install= +source=("ftp://ftp.ultimate.com/snobol/snobol4-${pkgver}.tar.gz") +md5sums=('54ac3ddd51fb34ec63b1eb0ae7b99794') +sha1sums=('037a8eeba774b1085cfe8d1a741ec446182e4a9f') +sha256sums=('9f7ec649f2d700a30091af3bbd68db90b916d728200f915b1ba522bcfd0d7abd') + +build() { + cd "$srcdir/${_pkgname}-$pkgver" + ./configure --prefix=/usr --without-ndbm --force-sdbm --lp64 + make +} + +package() { + mkdir -p $pkgdir/usr/{bin,share/man/{man1,man3},lib/snobol4/1.4.1/} + cd "$srcdir/${_pkgname}-$pkgver" + sed -i "s!bin/snobol4-$pkgver!bin/snobol4!" sdb + + install snobol4 sdb "$pkgdir/usr/bin" + /usr/bin/install -m 644 doc/snobol4.1 "$pkgdir/usr/share/man/man1" + /usr/bin/install -m 644 doc/snolib.3 "$pkgdir/usr/share/man/man3" + /usr/bin/install -m 644 doc/snobol4dbm.3 "$pkgdir/usr/share/man/man3" + /usr/bin/install -m 644 doc/snobol4random.3 "$pkgdir/usr/share/man/man3" + /usr/bin/install -m 644 doc/snobol4readline.3 "$pkgdir/usr/share/man/man3" + /usr/bin/install -m 644 doc/snobol4time.3 "$pkgdir/usr/share/man/man3" + + for F in snolib/*.sno \ + include/h.h \ + include/snotypes.h \ + include/macros.h \ + include/load.h \ + include/dt.h \ + config.h \ + equ.h \ + version.h \ + doc/load.txt \ + README \ + host.sno ; do + /usr/bin/install -m 644 $F "$pkgdir/usr/lib/snobol4/1.4.1" + done +} |