From c882c7ad17b980297221d935ed123f26de926afa Mon Sep 17 00:00:00 2001 From: ctoid Date: Fri, 21 Apr 2023 23:00:39 +0800 Subject: [PATCH 1/4] New package: common-lisp-clx-0.7.5 --- srcpkgs/common-lisp-clx/template | 19 +++++++++++++++++++ 1 file changed, 19 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..91e4efd49de8 --- /dev/null +++ b/srcpkgs/common-lisp-clx/template @@ -0,0 +1,19 @@ +# Template file for 'common-lisp-clx' +pkgname=common-lisp-clx +version=0.7.5 +revision=1 +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() { + head -n 16 clx.lisp | tail -n 13 | cut -d ';' -f4- > COPYING + vlicense COPYING + vmkdir $_LIBRARY_DIR + vcopy * $_LIBRARY_DIR +} From ae724c027e42ca5693046449863b7d11c644ccfd Mon Sep 17 00:00:00 2001 From: ctoid Date: Fri, 21 Apr 2023 23:00:55 +0800 Subject: [PATCH 2/4] New package: common-lisp-alexandria-1.4 --- srcpkgs/common-lisp-alexandria/template | 17 +++++++++++++++++ 1 file changed, 17 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..169d824d269f --- /dev/null +++ b/srcpkgs/common-lisp-alexandria/template @@ -0,0 +1,17 @@ +# Template file for 'common-lisp-alexandria' +pkgname=common-lisp-alexandria +version=1.4 +revision=1 +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() { + vmkdir $_LIBRARY_DIR + vcopy * $_LIBRARY_DIR +} From c44b1380c4136818e67dd301c23fee6d5a896ae3 Mon Sep 17 00:00:00 2001 From: ctoid Date: Fri, 21 Apr 2023 23:01:10 +0800 Subject: [PATCH 3/4] New package: common-lisp-ppcre-2.1.1 --- srcpkgs/common-lisp-ppcre/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/common-lisp-ppcre/template diff --git a/srcpkgs/common-lisp-ppcre/template b/srcpkgs/common-lisp-ppcre/template new file mode 100644 index 000000000000..b7b0d8068fab --- /dev/null +++ b/srcpkgs/common-lisp-ppcre/template @@ -0,0 +1,20 @@ +# Template file for 'common-lisp-ppcre' +pkgname=common-lisp-ppcre +version=2.1.1 +revision=1 +hostmakedepends="curl" +short_desc="Common Lisp regular expression library" +maintainer="ctoid " +license="BSD-2-Clause" +homepage="https://edicl.github.io/cl-ppcre/" +distfiles="https://github.com/edicl/cl-ppcre/archive/refs/tags/v${version}.tar.gz" +checksum="89631179b71648d9e6c565a928f6896a9d5742aa2083b9c1b705fe0b45d85def" + +_LIBRARY_DIR=/usr/share/common-lisp/source/cl-ppcre + +do_install() { + curl -O "https://raw.githubusercontent.com/edicl/cl-ppcre/master/LICENSE" + vlicense LICENSE + vmkdir $_LIBRARY_DIR + vcopy * $_LIBRARY_DIR +} From f8ef808e5b82ba9abad9bfb4cc2160286545d93c Mon Sep 17 00:00:00 2001 From: ctoid Date: Fri, 21 Apr 2023 23:01:23 +0800 Subject: [PATCH 4/4] New package: stumpwm-22.11 --- srcpkgs/stumpwm/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/stumpwm/template diff --git a/srcpkgs/stumpwm/template b/srcpkgs/stumpwm/template new file mode 100644 index 000000000000..e5263cef3b9c --- /dev/null +++ b/srcpkgs/stumpwm/template @@ -0,0 +1,26 @@ +# Template file for 'stumpwm' +pkgname=stumpwm +version=22.11 +revision=1 +build_style=gnu-configure +hostmakedepends="sbcl base-devel" +makedepends="common-lisp-ppcre common-lisp-alexandria common-lisp-clx" +depends="common-lisp-ppcre common-lisp-alexandria common-lisp-clx" +short_desc="Stump Window Manager" +maintainer="ctoid " +license="GPL-2.0-or-later" +homepage="https://github.com/stumpwm/stumpwm" +distfiles="https://github.com/stumpwm/stumpwm/archive/refs/tags/${version}.tar.gz" +checksum="36940f3b2c1ba54219a8d3a784103cfa83f84c652d1dbd7d3b7360c55e5ef026" +nopie=yes +nostrip=yes + +pre_configure() { + export SBCL_HOME=/usr/lib/sbcl + autoupdate + ./autogen.sh +} + +pre_install() { + make_install_args="destdir=$DESTDIR" +}