diff options
author | Adrien Smith | 2019-05-04 15:09:07 -0600 |
---|---|---|
committer | Adrien Smith | 2019-05-04 15:09:07 -0600 |
commit | f975dbf0819f4757044552ff83e9bb82b42e391d (patch) | |
tree | 471c64f81ada505e87e4b32682cfb552bf9a2788 | |
parent | 25257c4b561a70b809e1b34012a8dc618e6f3d25 (diff) | |
download | aur-f975dbf0819f4757044552ff83e9bb82b42e391d.tar.gz |
Fix license version, improve PKGBUILD
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | PKGBUILD | 19 |
3 files changed, 14 insertions, 13 deletions
@@ -1,7 +1,7 @@ pkgbase = mlat-client-git pkgdesc = Mode S multilateration client. (by Mutability) pkgver = 0.2.10.r0.g59e3d57 - pkgrel = 1 + pkgrel = 2 url = https://github.com/mutability/mlat-client changelog = mlat-client-git.changelog arch = i686 @@ -9,14 +9,14 @@ pkgbase = mlat-client-git arch = armv6h arch = armv7h arch = aarch64 - license = GPL + license = GPL3 makedepends = git depends = python provides = mlat-client provides = fa-mlat-client conflicts = mlat-client conflicts = fa-mlat-client - source = mlat-client-git::git://github.com/mutability/mlat-client.git + source = mlat-client::git+https://github.com/mutability/mlat-client.git md5sums = SKIP pkgname = mlat-client-git diff --git a/.gitignore b/.gitignore index a544bd411575..55aef3828762 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ *.tar.xz pkg src -mlat-client-git/
\ No newline at end of file +mlat-client/ @@ -1,34 +1,35 @@ +#!/hint/bash -e # Maintainer: Adrien Smith <adrien at bouldersmiths dot com> # Contributor: Martin Poljak <martin at poljak dot cz> # Contributor: Dan Schaper <dschaper at ganymeade dot com> pkgname=mlat-client-git pkgver=0.2.10.r0.g59e3d57 -pkgrel=1 +pkgrel=2 pkgdesc="Mode S multilateration client. (by Mutability)" arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') url="https://github.com/mutability/mlat-client" -license=('GPL') +license=('GPL3') depends=('python') makedepends=('git') -source=("${pkgname}::git://github.com/mutability/mlat-client.git") +source=("${pkgname%-git}::git+${url}.git") +changelog="${pkgname}.changelog" +provides=("${pkgname%-git}" 'fa-mlat-client') +conflicts=("${pkgname%-git}" 'fa-mlat-client') md5sums=('SKIP') -changelog=$pkgname.changelog -provides=('mlat-client' 'fa-mlat-client') -conflicts=('mlat-client' 'fa-mlat-client') pkgver() { - cd "${pkgname}" + cd "${srcdir}/${pkgname%-git}" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd "${pkgname}" + cd "${srcdir}/${pkgname%-git}" ./setup.py build } package() { - cd "${pkgname}" + cd "${srcdir}/${pkgname%-git}" ./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 |