blob: 6ec70aa431e97e749ccf8aa0a665a81d0f9f1f38 (
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
|
# Maintainer: Timo S. Prinz <t.prinz@coliza.de>
# Contributor: Dan Nixon <dan@dan-nixon.com>
pkgname=libgpredict-git
pkgver=r21.c8d0d28
pkgrel=1
pkgdesc="An attempt to take the prediction code out of Gpredict and make it a standalone dynamic library"
arch=('x86_64' 'i686')
url="https://github.com/cubehub/libgpredict"
license=('NONE')
depends=('glib2')
makedepends=('cmake' 'git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('libgpredict::git+https://github.com/cubehub/libgpredict.git')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
mkdir -p build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr/"
make
}
package() {
cd "$srcdir/${pkgname%-git}/build"
make install
}
|