From 22c484a3e477d839037ded07c2e3e64e8c97abff Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Tue, 3 Jul 2018 11:00:07 -0500 Subject: Removing clx-git --- pcr/clx-git/PKGBUILD | 58 --------------------------------- pcr/clx-git/README.licensing | 4 --- pcr/clx-git/clx.install | 76 -------------------------------------------- 3 files changed, 138 deletions(-) delete mode 100644 pcr/clx-git/PKGBUILD delete mode 100644 pcr/clx-git/README.licensing delete mode 100644 pcr/clx-git/clx.install (limited to 'pcr') diff --git a/pcr/clx-git/PKGBUILD b/pcr/clx-git/PKGBUILD deleted file mode 100644 index 568420b76..000000000 --- a/pcr/clx-git/PKGBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# Contributor (AUR): Benjamin James -# Maintainer (AUR): Stefan Husmann - -# parabola changes and rationale: -# no changes. - -pkgname=clx-git -_clname=clx -pkgver=r323.6e39a0d -pkgrel=1 -arch=('any') -pkgdesc="An X11 client for Common Lisp" -url="https://github.com/sharplispers/clx" -license=('custom') -provides=('clx') -conflicts=('clx') -depends=('xorg-server' 'sbcl') -makedepends=('git' 'texinfo') -install=clx.install -source=(${pkgname}::git+https://github.com/sharplispers/clx.git - README.licensing) -md5sums=('SKIP' - '74858379015567928f1eee186d9db1a4') - -pkgver() { - cd ${srcdir}/${pkgname} - - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - -build() { - cd ${srcdir}/${pkgname}/manual - - makeinfo ${_clname}.texinfo -} - -package() { - cd ${srcdir}/${pkgname} - - install -d ${pkgdir}/usr/share/common-lisp/source/${_clname} - install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} *.lisp - install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}/extensions - install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname}/extensions extensions/*.lisp - install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} ${_clname}.asd - install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}/debug - install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname}/debug debug/*.lisp - install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}/demo - install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname}/demo demo/*.lisp - install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}/test - install -d ${pkgdir}/usr/share/info - install -m 644 -t ${pkgdir}/usr/share/info manual/${_clname}.info - install -d ${pkgdir}/usr/share/licenses/$pkgname - install -m 644 -t ${pkgdir}/usr/share/licenses/$pkgname ${srcdir}/README.licensing - - install -d ${pkgdir}/usr/share/common-lisp/systems - cd ${pkgdir}/usr/share/common-lisp/systems - ln -s ../source/${_clname}/${_clname}.asd . -} diff --git a/pcr/clx-git/README.licensing b/pcr/clx-git/README.licensing deleted file mode 100644 index 669083222..000000000 --- a/pcr/clx-git/README.licensing +++ /dev/null @@ -1,4 +0,0 @@ -This packages uses several licenses. - -To see a given source file's license, please check its header. The -lisp files are installed in /usr/share/common-lisp/source/clx. diff --git a/pcr/clx-git/clx.install b/pcr/clx-git/clx.install deleted file mode 100644 index 7344518a4..000000000 --- a/pcr/clx-git/clx.install +++ /dev/null @@ -1,76 +0,0 @@ -# arg 1: the new package version - -_pkgname=clx -_compile_log=n -_lisp=() - -if pacman -Qq clisp-new-clx &>/dev/null || - pacman -Qq clisp-gtk2 &>/dev/null || - pacman -Qq clisp-new-clx &>/dev/null; then - _lisp=(${_lisp[@]} 'clisp') -fi -if pacman -Qq sbcl &>/dev/null; then - _lisp=(${_lisp[@]} 'sbcl') -fi -if pacman -Qq cmucl &> /dev/null; then - _lisp=(${_lisp[@]} 'cmucl') -fi - -_compile_sbcl() { - sbcl --noinform --no-sysinit --no-userinit \ - --eval "(require :asdf)" \ - --eval "(pushnew #p\"/usr/share/common-lisp/systems/\" asdf:*central-registry* :test #'equal)" \ - --eval "(asdf:operate 'asdf:compile-op '${_pkgname})" \ - --eval "(quit)" &> ${_compile_log_file} || return 1 -} -_compile_clisp() { - clisp --silent -norc -x \ - "(load #p\"/usr/share/common-lisp/source/asdf/asdf\") - (pushnew #p\"/usr/share/common-lisp/systems/\" asdf:*central-registry* :test #'equal) - (asdf:operate 'asdf:compile-op '${_pkgname}) - (quit)" &> ${_compile_log_file} || return 1 -} -_compile_cmucl() { - cmucl -quiet -nositeinit -noinit -eval \ - "(load #p\"/usr/share/common-lisp/source/asdf/asdf\") - (pushnew #p\"/usr/share/common-lisp/systems/\" asdf:*central-registry* :test #'equal) - (asdf:operate 'asdf:compile-op '${_pkgname}) - (quit)" &> ${_compile_log_file} || return 1 -} - -post_install() { - for _lispiter in ${_lisp[@]}; do - echo "---> Compiling lisp files using ${_lispiter} <---" - if [ $_compile_log = 'y' ]; then - _compile_log_file=/tmp/${_pkgname}_${_lispiter}.log - else - _compile_log_file=/dev/null - fi - _compile_${_lispiter} - echo "---> Done compiling lisp files (using ${_lispiter}) <---" - done - - cat << EOM - - To load this library, load asdf and then run the following lines - (or their equivalent for your lisp of choice): - - (push #p"/usr/share/common-lisp/systems/" asdf:*central-registry*) - (asdf:operate 'asdf:load-op '${_pkgname}) -EOM -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - rm -f /usr/share/common-lisp/source/$_pkgname/{*.fas,*.fasl,*.lib,*.x86f} -} - -op=$1 -shift - -$op $* - -# End of file \ No newline at end of file -- cgit v1.2.3