blob: 9faa231b2ebb8c94e0a2aea8e79342c53e7a178b (
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
|
# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
pkgname=gibson-git
pkgver=r228.4a287eb
pkgrel=1
pkgdesc='Gibson is a high efficiency, tree based memory cache server.'
arch=(i686 x86_64)
url='http://gibson-db.in/'
license=(BSD)
makedepends=(git cmake)
backup=(etc/gibson/gibson.conf)
source=(git://github.com/evilsocket/gibson#branch=unstable
gibson.service)
sha1sums=('SKIP'
'e78f6f4988c56f91dfb287f83cf9ded0183ef091')
pkgver() {
cd gibson
# repo does not have any git tags yet
echo r$(git rev-list --count unstable).$(git rev-parse --short unstable)
}
build() {
cd gibson
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd gibson
make install DESTDIR="$pkgdir"
rm -r "$pkgdir/etc/init.d"
install -D -m644 "$srcdir/gibson.service" "$pkgdir/usr/lib/systemd/system/gibson.service"
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|