summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 755a99a0679200a2604af3faa65ed0597fb14bff (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
36
37
38
39
40
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
}