summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 52e1bdeb2b38b032769502385134c8cade4d682f (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
# Maintainer: LoaD Accumulator <lda@ari.lt>
pkgname=cytoplasm-git
pkgver=0.4.1.r51.gf5ce4f5
pkgrel=2
pkgdesc="The Telodendria core library"
arch=('any')
url="https://git.telodendria.io/Telodendria/Cytoplasm"
license=('Telodendria')
depends=('openssl' 'lmdb')
makedepends=('git')
provides=('cytoplasm')
source=($pkgname::git+https://git.telodendria.io/Telodendria/Cytoplasm.git)
validpgpkeys=()
md5sums=("SKIP")

prepare() {
        cd "$pkgname"
}

pkgver() {
        cd "$pkgname"
        git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
        cd "$pkgname"
        ./configure --prefix=$pkgdir/usr --with-lmdb
        make
}

package() {
        cd "$pkgname"
        make DESTDIR="$pkgdir/" install
}