From 371baa5f38d161b509cde5634d22e14a8b0d83ea Mon Sep 17 00:00:00 2001 From: ctoid Date: Thu, 20 Apr 2023 23:46:01 +0800 Subject: [PATCH 1/2] New package: common-lisp-clx --- 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 +} From 3733cafdc9ded7d7a4fd0dce5ccd7f3f25112538 Mon Sep 17 00:00:00 2001 From: ctoid Date: Fri, 21 Apr 2023 00:11:27 +0800 Subject: [PATCH 2/2] 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..fa6aeb84ae4b --- /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="xorg 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" +}