From 95f2ac36f33041a50fd7b6f3751c137be7d7ebe9 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 29 Apr 2015 19:00:08 -0300 Subject: clx-git-r180.11eb3e5-1: updating version --- pcr/clx-git/PKGBUILD | 92 +++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 55 deletions(-) diff --git a/pcr/clx-git/PKGBUILD b/pcr/clx-git/PKGBUILD index 17165711c..f8c2993f4 100644 --- a/pcr/clx-git/PKGBUILD +++ b/pcr/clx-git/PKGBUILD @@ -1,71 +1,53 @@ -#Contributor (Arch): Akshay Srinivasan +# Maintainer (Arch): Chris Dunder + pkgname=clx-git _clname=clx -pkgver=20120421 +pkgver=r180.11eb3e5 pkgrel=1 -pkgdesc="Xlib for common lisp systems" arch=('i686' 'x86_64' 'mips64el') -url="http://www.cliki.net/CLX" +pkgdesc="An X11 client for Common Lisp" +url="https://github.com/sharplispers/clx" license=('custom') +provides=('clx') +conflicts=('clx') depends=('x-server' 'sbcl') -makedepends=('texinfo') +makedepends=('git' 'texinfo') install=clx.install -source=(README.licensing) -md5sums=('74858379015567928f1eee186d9db1a4') - -conflicts=('clx') -provides=('clx') - -makedepends=('git') +source=(${pkgname}::git+https://github.com/sharplispers/clx.git + README.licensing) +md5sums=('SKIP' + 'SKIP') -_gitroot="git://github.com/sharplispers/clx.git" -_gitname="clx" +pkgver() { + cd ${srcdir}/${pkgname} + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} build() { + cd ${srcdir}/${pkgname}/manual - cat << EOM - - WARNING! - - You are building a 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/systems - install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}/{debug,demo,test} - install -d ${pkgdir}/usr/share/licenses/${_clname} - install -d ${pkgdir}/usr/share/info - - ### Git checkout - cd "$srcdir" - msg "Connecting to GIT server...." - - if [ -d $_gitname ] ; then - cd $_gitname && git pull origin - msg "The local files are updated." - else - git clone $_gitroot $_gitname - fi - - cd ${pkgdir}/usr/share/common-lisp/source/${_clname} - - install -m 644 -t . ${srcdir}/${_gitname}/*.lisp - install -m 644 -t debug ${srcdir}/${_gitname}/debug/*.lisp - install -m 644 -t demo ${srcdir}/${_gitname}/demo/*.lisp - install -m 644 -t test ${srcdir}/${_gitname}/test/*.lisp - - install -m 644 -t . ${srcdir}/${_gitname}/${_clname}.asd - cd ${pkgdir}/usr/share/common-lisp/systems - ln -s ../source/${_clname}/${_clname}.asd . - - cd ${srcdir}/${_gitname}/manual makeinfo ${_clname}.texinfo - install -m 644 ${_clname}.info ${pkgdir}/usr/share/info +} - install -m 644 ${srcdir}/README.licensing ${pkgdir}/usr/share/licenses/${_clname} +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 -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 -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname}/test test/*.lisp + install -d ${pkgdir}/usr/share/info + install -m 644 -t ${pkgdir}/usr/share/info manual/${_clname}.info + install -d ${pkgdir}/usr/share/licenses/${_clname} + install -m 644 -t ${pkgdir}/usr/share/licenses/${_clname} ${srcdir}/README.licensing + install -d ${pkgdir}/usr/share/common-lisp/systems + cd ${pkgdir}/usr/share/common-lisp/systems + ln -s ../source/${_clname}/${_clname}.asd . } -- cgit v1.2.3-54-g00ecf