Last active
June 1, 2023 07:36
-
-
Save dnaeon/d5e0b44cf61c17435930993dc41e4398 to your computer and use it in GitHub Desktop.
Arch Linux gpredict-git (AUR)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: not_anonymous <[email protected]> | |
# Contributor: Marin Atanasov Nikolov <[email protected]> | |
# Contributor: Andrey Semisokhin <[email protected]> | |
# Original Submission: Bob Finch <[email protected]> | |
_pkgname=gpredict | |
pkgname="${_pkgname}-git" | |
pkgver=2.3.r115.0f3beb6 | |
pkgrel=1 | |
pkgdesc='Gpredict satellite tracking application' | |
arch=('i686' 'x86_64') | |
url='http://gpredict.oz9aec.net/' | |
license=('GPL') | |
depends=('curl' 'goocanvas') | |
makedepends=('git' 'autoconf' 'automake' 'intltool') | |
optdepends=('hamlib: Ham radio equipment control libraries') | |
provides=("${_pkgname}") | |
conflicts=("${_pkgname}") | |
source=('git+https://github.com/csete/gpredict') | |
sha256sums=('SKIP') | |
pkgver() { | |
cd "${_pkgname}" | |
git describe --long --tags | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g;s/\.rc./rc/g' | |
} | |
build() { | |
cd "${_pkgname}" | |
./autogen.sh | |
./configure --prefix=/usr | |
make | |
} | |
check() { | |
cd "${_pkgname}" | |
make -k check | |
} | |
package() { | |
cd "${_pkgname}" | |
make DESTDIR="${pkgdir}/" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment