summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5b7ae18d145d0fc4a490be9380b8b43945c414e5 (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
# Maintainer: Peter Mattern <pmattern at arcor dot de>

_pkgname=meteo-qt
pkgname=$_pkgname-git
pkgver=3.3.3.gd21bdba
pkgrel=1
pkgdesc='System tray application for weather status information'
arch=('any')
url='https://github.com/dglent/meteo-qt'
license=('GPL3')
depends=('python-lxml' 'python-pyqt5' 'python-urllib3')
makedepends=('git' 'qt5-tools')
optdepends=('qt5-translations: translations of some native UI components')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+${url}.git")
sha256sums=("SKIP")

pkgver() {
  cd $_pkgname
  git describe --always | sed "s/^v//;s/-/./g"
}

package() {
  cd $_pkgname
  python setup.py install --root $pkgdir
}