blob: 8d0f0e1cf35a536539d3043fccca23de9c62f2ec (
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
|
# Maintainer: Iblis Lin <e196819@hotmail.com>
pkgname=pillowtalk-git
pkgver=0.3.r29.ga2323dc
pkgrel=1
pkgdesc="ANSI C library that talks to CouchDB using libcurl and yajl"
arch=('any')
url="https://github.com/mgmarino/pillowtalk"
license=('MIT')
depends=('curl' 'yajl')
makedepends=('git' 'cmake')
source=("$pkgname"::"git+https://github.com/mgmarino/pillowtalk.git")
md5sums=('SKIP')
options=('strip')
pkgver() {
cd $srcdir/$pkgname
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $srcdir/$pkgname
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
make
}
package() {
cd $srcdir/$pkgname
make DESTDIR="$pkgdir/" install
}
|