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