36 lines
693 B
Bash
36 lines
693 B
Bash
_name=clark
|
|
pkgname=$_name-git
|
|
pkgver=20130604
|
|
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
|
|
}
|
|
|
|
prepare() {
|
|
cd "$srcdir/$_name/lisp"
|
|
sed -i "s/^\(LISP.*\)/\1 --no-userinit --eval \"(require :sb-posix)\"/" Makefile
|
|
}
|
|
|
|
build()
|
|
{
|
|
cd "$srcdir/$_name"
|
|
make
|
|
}
|
|
|
|
package()
|
|
{
|
|
cd "$srcdir/$_name"
|
|
make install DESTDIR="$pkgdir/usr/" LISP="sbcl --no-userinit"
|
|
}
|