From eb5ace8d39715076fd8f880d9ac4c4dd3ecac6d9 Mon Sep 17 00:00:00 2001 From: ctoid Date: Thu, 20 Apr 2023 18:14:46 +0800 Subject: [PATCH 1/2] New package: common-lisp-alexandria-1.4 --- srcpkgs/common-lisp-alexandria/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/common-lisp-alexandria/template diff --git a/srcpkgs/common-lisp-alexandria/template b/srcpkgs/common-lisp-alexandria/template new file mode 100644 index 000000000000..e773a127f1e7 --- /dev/null +++ b/srcpkgs/common-lisp-alexandria/template @@ -0,0 +1,21 @@ +# Template file for 'common-lisp-alexandria' +pkgname=common-lisp-alexandria +version=1.4 +revision=1 +build_style=fetch +hostmakedepends="tar" +short_desc="Common Lisp utility library" +maintainer="ctoid " +license="Public Domain" +homepage="https://alexandria.common-lisp.dev/" +distfiles="https://gitlab.common-lisp.net/alexandria/alexandria/-/archive/v${version}/alexandria-v${version}.tar.gz" +checksum="0512aec38d054a20daa66e9983cf8a98151582d7e2307e49e8c1b4a61bbb779a" + +_LIBRARY_DIR=/usr/share/common-lisp/source/alexandria + +do_install() { + tar -xzvf alexandria-v${version}.tar.gz + cd alexandria-v${version} + vmkdir $_LIBRARY_DIR + vcopy * $_LIBRARY_DIR +} From e4e52995eb6d0e8740a51526bdc6a65544df5d36 Mon Sep 17 00:00:00 2001 From: ctoid Date: Thu, 20 Apr 2023 23:20:24 +0800 Subject: [PATCH 2/2] New package: common-lisp-clx-0.7.5 --- srcpkgs/common-lisp-clx/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/common-lisp-clx/template diff --git a/srcpkgs/common-lisp-clx/template b/srcpkgs/common-lisp-clx/template new file mode 100644 index 000000000000..2b26bf6d57d5 --- /dev/null +++ b/srcpkgs/common-lisp-clx/template @@ -0,0 +1,23 @@ +# Template file for 'common-lisp-clx' +pkgname=common-lisp-clx +version=0.7.5 +revision=1 +build_style=fetch +hostmakedepends="tar coreutils" +short_desc="X11 client for Common Lisp" +maintainer="ctoid " +license="MIT" +homepage="https://github.com/sharplispers/clx" +distfiles="https://github.com/sharplispers/clx/archive/refs/tags/${version}.tar.gz" +checksum="94114bc91e3f24054f0aa96f0c98bb500aa505f84fdaeb66ed41baaa39f9e053" + +_LIBRARY_DIR=/usr/share/common-lisp/source/clx + +do_install() { + tar -xzvf ${version}.tar.gz + cd clx-${version} + head -n 16 clx.lisp | tail -n 13 | cut -d ';' -f4- > COPYING + vlicense COPYING + vmkdir $_LIBRARY_DIR + vcopy * $_LIBRARY_DIR +}