pkgbuilds/clark-git/PKGBUILD
Tom Willemse 71a7aa985c Bump clark-git to 20130606
Due to some changes in the code the `prepare' function is no longer
needed, the sbcl to call can be specified with the `LISP' make
variable.
2013-06-06 23:01:05 +02:00

31 lines
640 B
Bash

_name=clark
pkgname=$_name-git
pkgver=20130606
pkgrel=1
pkgdesc="Store bookmarks, in common lisp."
arch=('x86_64')
url="http://code.ryuslash.org/cgit.cgi/clark/about/"
license=('GPL3')
depends=('cl-sqlite' 'sbcl')
source=("git://ryuslash.org/clark.git")
md5sums=('SKIP')
options=(!strip)
install=clark.install
pkgver()
{
cd "$srcdir"/"$_name"
git log -1 --pretty=format:"%cd" --date=short | sed s/-//g
}
build()
{
cd "$srcdir/$_name"
make LISP="sbcl --no-userinit --disable-debugger --eval \"(require 'sb-posix)\""
}
package()
{
cd "$srcdir/$_name"
make install DESTDIR="$pkgdir/usr/" LISP="sbcl --no-userinit"
}