From 59e9382230f81140f1a1a434e46222394bb63e15 Mon Sep 17 00:00:00 2001 From: Rahul Date: Sun, 30 Jan 2022 11:07:40 +0530 Subject: [PATCH 1/7] Added template for mold. --- srcpkgs/mold/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/mold/template diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template new file mode 100644 index 000000000000..e843aae14fbc --- /dev/null +++ b/srcpkgs/mold/template @@ -0,0 +1,14 @@ +# Template file for 'mold' +pkgname=mold +version=1.0.2 +revision=1 +archs="i686 x86_64" +build_style=gnu-makefile +hostmakedepends="cmake pkg-config" +makedepends="libstdc++-devel openssl-devel zlib-devel" +short_desc="A Modern Linker." +maintainer="Rahul " +license="AGPL-3.0-only" +homepage="https://github.com/rui314/mold" +distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" +checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028 From 298c7d3659ca3d91ffcfa1ca0e3c8769f56bbb29 Mon Sep 17 00:00:00 2001 From: Rahul Date: Wed, 2 Feb 2022 19:30:17 +0530 Subject: [PATCH 2/7] Updated version for mold and fixed template issues. --- srcpkgs/mold/template | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template index e843aae14fbc..60b8f826963d 100644 --- a/srcpkgs/mold/template +++ b/srcpkgs/mold/template @@ -1,14 +1,22 @@ # Template file for 'mold' pkgname=mold -version=1.0.2 +version=1.0.3 revision=1 -archs="i686 x86_64" +archs="aarch64 i686 x86_64" build_style=gnu-makefile hostmakedepends="cmake pkg-config" makedepends="libstdc++-devel openssl-devel zlib-devel" -short_desc="A Modern Linker." +short_desc="Fast drop-in replacement for existing Unix linkers" maintainer="Rahul " license="AGPL-3.0-only" homepage="https://github.com/rui314/mold" distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028 + +do_check(){ + : +} + +post_install() { + vlicense LICENSE +} From cf6b50a2904712df014b66f9593fad80ddbc52e3 Mon Sep 17 00:00:00 2001 From: Rahul Date: Wed, 2 Feb 2022 19:35:42 +0530 Subject: [PATCH 3/7] Added musl architecture. --- srcpkgs/mold/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template index 60b8f826963d..a78c49c82e7d 100644 --- a/srcpkgs/mold/template +++ b/srcpkgs/mold/template @@ -2,7 +2,7 @@ pkgname=mold version=1.0.3 revision=1 -archs="aarch64 i686 x86_64" +archs="aarch64 i686 x86_64 aarch64-musl x86_64-musl" build_style=gnu-makefile hostmakedepends="cmake pkg-config" makedepends="libstdc++-devel openssl-devel zlib-devel" From 2407dac7d5d30a60e96ed4d26637727128ed7588 Mon Sep 17 00:00:00 2001 From: Rahul Date: Wed, 2 Feb 2022 21:45:26 +0530 Subject: [PATCH 4/7] Updated checksum for mold --- srcpkgs/mold/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template index a78c49c82e7d..577b2b8ccf3a 100644 --- a/srcpkgs/mold/template +++ b/srcpkgs/mold/template @@ -11,7 +11,8 @@ maintainer="Rahul " license="AGPL-3.0-only" homepage="https://github.com/rui314/mold" distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" -checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028 +checksum=488c12058b4c7c77bff94c6f919e40b2f12c304214e2e0d7d4833c21167837c0 + do_check(){ : From f99d1e55c3d948f22029915e00a3c93a4f73b81b Mon Sep 17 00:00:00 2001 From: Rahul Date: Wed, 2 Feb 2022 22:46:20 +0530 Subject: [PATCH 5/7] Added template for quicklisp --- srcpkgs/quicklisp/files/LICENSE | 50 +++++++++++++++++++++++++++++++++ srcpkgs/quicklisp/template | 29 +++++++++++++++++++ 2 files changed, 79 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..78ee77535b21 --- /dev/null +++ b/srcpkgs/quicklisp/template @@ -0,0 +1,29 @@ +# 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=1 + +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 a359c27afe8e2bf5cfe595cb282cbab97e1d437a Mon Sep 17 00:00:00 2001 From: Rahul Date: Wed, 2 Feb 2022 22:50:13 +0530 Subject: [PATCH 6/7] Added template for quicklisp --- srcpkgs/quicklisp/template | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/quicklisp/template b/srcpkgs/quicklisp/template index 78ee77535b21..54d7331be122 100644 --- a/srcpkgs/quicklisp/template +++ b/srcpkgs/quicklisp/template @@ -12,11 +12,10 @@ license="custom:bsd" homepage="https://beta.quicklisp.org" distfiles="${homepage}/quicklisp.lisp" checksum=4a7a5c2aebe0716417047854267397e24a44d0cce096127411e9ce9ccfeb2c17 -nocheckperms=1 +nocheckperms=yes do_install( ){ - echo -ne "(quicklisp-quickstart:install :path \"${DESTDIR}/usr/lib/${pkgname}\")\n(quit)\n" | - sbcl --no-userinit --load $pkgname.lisp + 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 From 9c198817b19363ae07144b87751fce2053310b07 Mon Sep 17 00:00:00 2001 From: Rahul Date: Wed, 2 Feb 2022 23:19:57 +0530 Subject: [PATCH 7/7] Added template for quicklisp --- 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 +}