diff options
author | Joshua Rubin | 2020-08-12 10:28:31 -0600 |
---|---|---|
committer | Joshua Rubin | 2020-08-12 10:31:47 -0600 |
commit | 6b48345b7d03939f4bb47b89def61ba7cf4bd6b9 (patch) | |
tree | 4677177cdf6d8d4de6e638cf76195b9fb147932c | |
download | aur-pythonprop-git.tar.gz |
add pythonprop
Signed-off-by: Joshua Rubin <me@jawa.dev>
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 41 |
3 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e57306564a20 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +pkgbase = pythonprop-git + pkgdesc = A collection of scripts using the VOACAP HF propagation prediction engine + pkgver = v0.22.r108.gf478098 + pkgrel = 1 + url = https://github.com/jawatson/pythonprop + arch = any + license = GPL2 + makedepends = git + makedepends = dblatex + makedepends = yelp-tools + depends = voacapl + depends = python-matplotlib + depends = python-cartopy + depends = python-scipy + depends = python-basemap + provides = pythonprop + conflicts = pythonprop + source = pythonprop::git+https://github.com/jawatson/pythonprop + md5sums = SKIP + sha1sums = SKIP + sha256sums = SKIP + sha384sums = SKIP + sha512sums = SKIP + +pkgname = pythonprop-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..e15f669d3bf7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/pkg/ +/pythonprop/ +/pythonprop-*.pkg.tar.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..755a99a06792 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Joshua Rubin <me at jawa dot dev> + +pkgname=pythonprop-git +_pkgname=pythonprop +pkgver=v0.22.r108.gf478098 +pkgrel=1 +pkgdesc='A collection of scripts using the VOACAP HF propagation prediction engine' +arch=('any') +url='https://github.com/jawatson/pythonprop' +license=('GPL2') +depends=('voacapl' 'python-matplotlib' 'python-cartopy' 'python-scipy' 'python-basemap') +makedepends=('git' 'dblatex' 'yelp-tools') +provides=('pythonprop') +conflicts=('pythonprop') +source=("${_pkgname}::git+https://github.com/jawatson/${_pkgname}") +md5sums=('SKIP') +sha1sums=('SKIP') +sha256sums=('SKIP') +sha384sums=('SKIP') +sha512sums=('SKIP') + +pkgver() { + cd "$_pkgname" + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +prepare() { + cd "$_pkgname" + ./autogen.sh +} + +build() { + cd "$_pkgname" + ./configure --prefix=/usr + make +} + +package() { + cd "$_pkgname" + make DESTDIR="$pkgdir/" install +} |