diff options
author | Udo Tils | 2015-11-18 14:12:32 +0100 |
---|---|---|
committer | Udo Tils | 2015-11-18 14:12:32 +0100 |
commit | 7f609994e46949e8a92ba4f3b5f23e4ee394c568 (patch) | |
tree | 6f947294b91a09ad30a4e57bf5c456d130237268 | |
download | aur-7f609994e46949e8a92ba4f3b5f23e4ee394c568.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 56 |
2 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0670dc422a3b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = picolisp + pkgdesc = Fast and tiny 64-bit Lisp interpreter: OO, dynamic and functional (database, prolog, coroutines). + pkgver = 3.1.12.r0.g4535b0d + pkgrel = 1 + url = http://www.picolisp.com + arch = x86_64 + license = MIT + makedepends = make + makedepends = git + depends = bash + depends = openssl + optdepends = jre: for picolisp ersatz.jar + source = picolisp::git+https://github.com/taij33n/picolisp.git + md5sums = SKIP + +pkgname = picolisp + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bf9a95681ebb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,56 @@ +# Maintainer: taij33n <bwbuiz@gmail.com> +pkgname=picolisp +pkgver=3.1.12.r0.g4535b0d +pkgrel=1 +pkgdesc="Fast and tiny 64-bit Lisp interpreter: OO, dynamic and functional (database, prolog, coroutines)." +url="http://www.picolisp.com" +arch=('x86_64') +license=('MIT') +depends=('bash' 'openssl') +optdepends=('jre: for picolisp ersatz.jar') +makedepends=('make' 'git') +source=("$pkgname::git+https://github.com/taij33n/picolisp.git") +md5sums=("SKIP") + +pkgver() { + cd "${pkgname}" + # cutting off 'foo-' prefix that presents in the git tag + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + # build 32bit version and tools first + cd "${srcdir}/${pkgname}/src" + make all + + # build the 64bit version + cd "${srcdir}/${pkgname}/src64" + make all +} + +package() { + install -d -m755 "${pkgdir}/usr/lib/picolisp" + cp -a ${srcdir}/${pkgname}/* ${pkgdir}/usr/lib/picolisp/ + + # binary + install -d -m755 "${pkgdir}/usr/bin/" + ln -s "/usr/lib/picolisp/bin/picolisp" "${pkgdir}/usr/bin/" + ln -s "/usr/lib/picolisp/bin/pil" "${pkgdir}/usr/bin/" + + ln -s "/usr/lib/picolisp/bin/ssl" "${pkgdir}/usr/bin/" + ln -s "/usr/lib/picolisp/bin/httpGate" "${pkgdir}/usr/bin/" + ln -s "/usr/lib/picolisp/bin/psh" "${pkgdir}/usr/bin/" + + # documentation + install -d -m755 "${pkgdir}/usr/share/man/man1/" + ln -s "/usr/lib/picolisp/man/man1/picolisp.1" "${pkgdir}/usr/share/man/man1/" + ln -s "/usr/lib/picolisp/man/man1/pil.1" "${pkgdir}/usr/share/man/man1/" + + ln -s "/usr/lib/picolisp" "${pkgdir}/usr/share/" + + # license + install -Dm755 ${srcdir}/${pkgname}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} + + +
\ No newline at end of file |