From 09a34dc23be5b101dd25e6f55b7cf6c7965ea20b Mon Sep 17 00:00:00 2001 From: Rahul Date: Thu, 3 Feb 2022 01:48:14 +0530 Subject: [PATCH 1/2] New Package: quicklisp-20150128 --- srcpkgs/quicklisp/files/LICENSE | 50 +++++++++++++++++++++++++++++++++ srcpkgs/quicklisp/template | 28 ++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 srcpkgs/quicklisp/files/LICENSE create mode 100644 srcpkgs/quicklisp/template diff --git a/srcpkgs/quicklisp/files/LICENSE b/srcpkgs/quicklisp/files/LICENSE new file mode 100644 index 000000000000..2e8fe40971cb --- /dev/null +++ b/srcpkgs/quicklisp/files/LICENSE @@ -0,0 +1,50 @@ +License information + + Copyright © 2010 Zachary Beane + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +Portions of Quicklisp are derived from Pierre Mai's Deflate library, which is available under the following terms: + + Deflate --- RFC 1951 Deflate Decompression + + Copyright (C) 2000-2009 PMSF IT Consulting Pierre R. Mai. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the author shall + not be used in advertising or otherwise to promote the sale, use or + other dealings in this Software without prior written authorization + from the author. diff --git a/srcpkgs/quicklisp/template b/srcpkgs/quicklisp/template new file mode 100644 index 000000000000..54d7331be122 --- /dev/null +++ b/srcpkgs/quicklisp/template @@ -0,0 +1,28 @@ +# Template file for 'quicklisp' +pkgname=quicklisp +version=20150128 +revision=1 +wrksrc=${pkgname} +build_style=fetch +makedepends="sbcl" +depends="sbcl" +short_desc="Library manager for Common Lisp" +maintainer="Rahul " +license="custom:bsd" +homepage="https://beta.quicklisp.org" +distfiles="${homepage}/quicklisp.lisp" +checksum=4a7a5c2aebe0716417047854267397e24a44d0cce096127411e9ce9ccfeb2c17 +nocheckperms=yes + +do_install( ){ + echo -ne "(quicklisp-quickstart:install :path \"${DESTDIR}/usr/lib/${pkgname}\")\n(quit)\n" | sbcl --no-userinit --load $pkgname.lisp + chmod 777 -R "$DESTDIR"/usr/lib/${pkgname} + chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/tmp + chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/dists + chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/local-projects + echo -ne "(load \"/usr/lib/${pkgname}/setup\")\n" > ${DESDIR}/etc/default/${pkgname} +} + +post_install( ){ + vlicense ${FILESDIR}/LICENSE +} From 5fa1f1b256d8ee84113f1523280bcb100a3e75df Mon Sep 17 00:00:00 2001 From: Rahul Date: Sun, 6 Feb 2022 21:46:39 +0530 Subject: [PATCH 2/2] Fixed xlint errors --- srcpkgs/quicklisp/template | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/srcpkgs/quicklisp/template b/srcpkgs/quicklisp/template index 54d7331be122..765ae57a177c 100644 --- a/srcpkgs/quicklisp/template +++ b/srcpkgs/quicklisp/template @@ -12,17 +12,11 @@ license="custom:bsd" homepage="https://beta.quicklisp.org" distfiles="${homepage}/quicklisp.lisp" checksum=4a7a5c2aebe0716417047854267397e24a44d0cce096127411e9ce9ccfeb2c17 -nocheckperms=yes do_install( ){ - echo -ne "(quicklisp-quickstart:install :path \"${DESTDIR}/usr/lib/${pkgname}\")\n(quit)\n" | sbcl --no-userinit --load $pkgname.lisp - chmod 777 -R "$DESTDIR"/usr/lib/${pkgname} - chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/tmp - chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/dists - chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/local-projects - echo -ne "(load \"/usr/lib/${pkgname}/setup\")\n" > ${DESDIR}/etc/default/${pkgname} + echo -ne "(quicklisp-quickstart:install :path \"${DESTDIR}/usr/lib/${pkgname}\")\n(quit)\n" | sbcl --no-userinit --load $pkgname.lisp } post_install( ){ - vlicense ${FILESDIR}/LICENSE + vlicense ${FILESDIR}/LICENSE }