updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / kompas-core / PKGBUILD
blobfd1d5c9e6c87197c08baad9400e93a9e2588270b
1 # Author: mosra <mosra@centrum.cz>
2 pkgname=kompas-core
3 pkgver=0.1.2
4 pkgrel=1
5 pkgdesc="Core library for Kompas navigation software"
6 arch=('i686' 'x86_64')
7 url="http://mosra.cz/blog/kompas.php"
8 license=('LGPLv3')
9 makedepends=('cmake')
10 conflicts=('kompas-core-git')
11 source=("https://github.com/mosra/${pkgname}/tarball/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
12 md5sums=('5327be51e8f3dccd16b45d9e500b0ba6')
14 build() {
15     mkdir -p "${srcdir}/build"
16     cd "${srcdir}/build"
18     cmake -DCMAKE_INSTALL_PREFIX=/usr ../mosra-${pkgname}-6f5eaea
19     make
22 package() {
23     cd "$srcdir/build"
24     make DESTDIR="$pkgdir/" install