Add cl-alexandria-git
This commit is contained in:
parent
2ded990735
commit
b2da0b46f7
1 changed files with 47 additions and 0 deletions
47
cl-alexandria-git/PKGBUILD
Normal file
47
cl-alexandria-git/PKGBUILD
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
#
|
||||||
|
|
||||||
|
_name=alexandria
|
||||||
|
pkgname=cl-$_name-git
|
||||||
|
pkgver=20130126
|
||||||
|
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' 'cl-asdf')
|
||||||
|
makedepends=('git')
|
||||||
|
source=(git://common-lisp.net/projects/alexandria/alexandria.git)
|
||||||
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver()
|
||||||
|
{
|
||||||
|
cd "$srcdir"/"$_name"
|
||||||
|
git log -1 --pretty=format:"%cd" --date=short | sed s/-//g
|
||||||
|
}
|
||||||
|
|
||||||
|
# build()
|
||||||
|
# {
|
||||||
|
# cd "$srcdir"/$_name/doc
|
||||||
|
# make info
|
||||||
|
# }
|
||||||
|
|
||||||
|
package()
|
||||||
|
{
|
||||||
|
local destination="$pkgdir"/usr/share/common-lisp/source/$_name
|
||||||
|
local source="$srcdir"/$_name
|
||||||
|
|
||||||
|
install -d "$destination"
|
||||||
|
install -d "$pkgdir"/usr/share/licenses/$pkgname
|
||||||
|
install -d "$pkgdir"/etc/common-lisp/source-registry.conf.d/
|
||||||
|
|
||||||
|
install -m 644 "$source"/*.lisp "$destination"
|
||||||
|
install -m 644 "$source"/*.asd "$destination"
|
||||||
|
install -m 644 "$source"/LICENCE \
|
||||||
|
"$pkgdir"/usr/share/licenses/$pkgname
|
||||||
|
# install -m 644 "$source"/doc/*.info "$pkgdir"/usr/share/info/
|
||||||
|
|
||||||
|
echo "(:directory \"/usr/share/common-lisp/source/$_name\")" \
|
||||||
|
> "$pkgdir"/etc/common-lisp/source-registry.conf.d/20-$_name.conf
|
||||||
|
}
|
Loading…
Reference in a new issue