diff options
author | Viktor Drobot | 2020-03-15 17:45:15 +0300 |
---|---|---|
committer | Viktor Drobot | 2020-03-15 17:45:15 +0300 |
commit | 4794f1e72363e1701b56d3379dafa37354a751e1 (patch) | |
tree | 3eb8190eadb2c25e0dabe3f2fe7f8db3fe061663 /PKGBUILD | |
download | aur-4794f1e72363e1701b56d3379dafa37354a751e1.tar.gz |
Initial release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ea8160697b2e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com + +pkgname=glrpt-git +pkgver=r7.f98a90f +pkgrel=1 +pkgdesc="Interactive GUI application for receiving, decoding and displaying LRPT images from the Russian Meteor-M type of weather satellites" +arch=(i686 x86_64) +license=('GPL3') +url="https://github.com/dvdesolve/glrpt" +depends=('gtk3>=3.22.0' glibc glib2 soapysdr) +makedepends=(git cmake make gcc) +optdepends=('soapyrtlsdr: RTL-SDR support' + 'soapyairspy: Airspy support') +provides=(glrpt) +conflicts=(glrpt) +source=("$pkgname::git+https://github.com/dvdesolve/glrpt.git") +sha256sums=('SKIP') + +pkgver() { + cd "${pkgname}" + + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "${pkgname}" + + mkdir build + cd build + + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + make +} + +package() { + cd "${pkgname}" + + cd build + make DESTDIR="${pkgdir}" install +} |