blob: 2195e50acfb48b56151b501aa232efeab13009ec (
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
35
|
# Maintainer: Martin Poljak <martin at poljak dot cz>
# Contributor: Dan Schaper <dschaper at ganymeade dot com>
pkgname=mlat-client-git
pkgver=0.2.4.r30.g5360df6
pkgrel=1
pkgdesc="Mode S multilateration client. (by Mutability)"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://github.com/mutability/mlat-client"
license=('GPL')
depends=('python')
makedepends=('git' 'python')
source=(${pkgname}::git://github.com/mutability/mlat-client.git)
md5sums=('SKIP')
changelog=$pkgname.changelog
provides=('mlat-client' 'fa-mlat-client')
conflicts=('mlat-client' 'fa-mlat-client')
pkgver() {
cd ${pkgname}
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${pkgname}"
./setup.py build
}
package() {
cd "${pkgname}"
./setup.py install --prefix="${pkgdir}/usr"
install -Dm755 -t "${pkgdir}/usr/lib/piaware/helpers/" fa-mlat-client
install -Dm755 -t "${pkgdir}/usr/bin/" mlat-client
rm -f "${pkgdir}/usr/bin/fa-mlat-client"
}
|