blob: 5b8b224a0d9559cc7183e2801d554011865fabc5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contibutor: Thomas Dziedzic < gostrc at gmail >
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=librep-git
pkgver=0.92.7.8.g66637a30
pkgrel=1
pkgdesc='A lisp system for sawfish - git version.'
arch=('i686' 'x86_64')
url='http://sawfish.wikia.com'
license=('GPL')
depends=('gmp' 'gdbm' 'libffi')
makedepends=('git')
provides=("librep=$pkgver")
conflicts=('librep')
options=('!libtool' '!makeflags')
source=('git+https://github.com/SawfishWM/librep.git')
sha256sums=('SKIP')
_gitname='librep'
pkgver() {
cd ${pkgname%-git}
echo $(git describe --always |sed 's/-/./g'|cut -c8-)
}
build() {
cd ${pkgname%-git}
./autogen.sh
./configure --disable-static \
--prefix=/usr \
--libexecdir=/usr/lib/$pkgname \
--with-readline \
--with-ffi
make
}
package() {
cd $_gitname
# create some directories or make install fails
install -d "$pkgdir"/usr/{share/aclocal,lib/pkgconfig}
make DESTDIR="$pkgdir" install
}
|