diff options
author | Julian DeMille | 2019-08-02 13:43:49 -0400 |
---|---|---|
committer | Julian DeMille | 2019-08-02 13:43:49 -0400 |
commit | 16fff2be3b683bacedd0fb26773deabb2d85a732 (patch) | |
tree | 7afea860107747bc612488dbe0a3208b02e71db3 /PKGBUILD | |
parent | 78bb866e73c4f217d328fd821fd91a32678197cc (diff) | |
download | aur-16fff2be3b683bacedd0fb26773deabb2d85a732.tar.gz |
Convert to PKGBUILD, replace cl-alexandria, new Git repo
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 78 |
1 files changed, 27 insertions, 51 deletions
@@ -1,57 +1,33 @@ -# Maintainer: mrshpot <mrshpot at gmail dot com> -#Contributor: Peter Mukhachev <rolling[dot]robot [shift-two] gmail [dot] com> +# Maintainer: Julian DeMille <jtdemille@demilletech.net> +# Contributor: Stefan Husmann <stefan-husmann@t-online.de> -# 'alexandria' is taken by another app pkgname=cl-alexandria-git -pkgver=r194.b1c6ee0 -pkgrel=1 -pkgdesc="Common Lisp portability library" -arch=('i686' 'x86_64') -url="http://common-lisp.net/project/alexandria/" -license=('custom') # Public Domain -provides=('cl-alexandria') -conflicts=('cl-alexandria-darcs') -depends=('common-lisp') -makedepends=('git') -install=cl-alexandria.install -source=("git+https://github.com/keithj/alexandria.git") -md5sums=("SKIP") -options=(docs) - -_clname=alexandria - -_gitname="alexandria" - +_pkgname=${pkgname#cl-} +_pkgname=${_pkgname%-git} +pkgver=r237.3b849bc pkgver() { - cd ${_gitname} - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" - } + cd "$_pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} +pkgrel=1 +pkgdesc="A set of common-lisp help functions" +arch=('any') +url="https://common-lisp.net/project/alexandria/" +license=('custom') +source=('git+https://gitlab.common-lisp.net/alexandria/alexandria.git') +md5sums=('SKIP') +replaces=cl-alexandria package() { - - cat << EOM - - WARNING! - - You are about to build a pre-release package using a snapshot from a - repository. The resulting package may be unusable or pose a security - risk, since the install script does not check source file hashes. Do - not continue if this is undesirable. - -EOM - - install -d ${pkgdir}/usr/share/common-lisp/source/${_clname} - install -d ${pkgdir}/usr/share/common-lisp/systems - install -d ${pkgdir}/usr/share/licenses/${_clname} - - install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} \ - ${srcdir}/${_clname}/*.lisp - install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} \ - ${srcdir}/${_clname}/*.asd - install -m 644 -t ${pkgdir}/usr/share/licenses/${_clname} \ - ${srcdir}/${_clname}/LICENCE - - cd ${pkgdir}/usr/share/common-lisp/systems - ln -s ../source/${_clname}/alexandria.asd . - ln -s ../source/${_clname}/alexandria-tests.asd . + cd ${_pkgname} + install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE + install -d "$pkgdir"/usr/share/common-lisp/source/${_pkgname} + install -d "$pkgdir"/usr/share/common-lisp/systems + + install -m 644 -t "$pkgdir"/usr/share/common-lisp/source/${_pkgname} *.lisp + install -m 644 -t "$pkgdir"/usr/share/common-lisp/source/${_pkgname} *.asd + + cd "$pkgdir"/usr/share/common-lisp/systems + ln -s ../source/${_pkgname}/${_pkgname}.asd . + ln -s ../source/${_pkgname}/${_pkgname}.asd $pkgname-unicode.asd } |