pkgbuilds/clark-git/PKGBUILD

33 lines
664 B
Text
Raw Normal View History

2013-06-05 01:23:21 +02:00
_name=clark
pkgname=$_name-git
2013-10-20 11:56:13 +02:00
pkgver=20131006
2013-06-05 01:23:21 +02:00
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)\" \
--load \"clark.asd\""
2013-06-05 01:23:21 +02:00
}
package()
{
cd "$srcdir/$_name"
make install DESTDIR="$pkgdir/usr/" LISP="sbcl --no-userinit"
}