summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 855c2914b63771b622089d7fe4e765fad52a3563 (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
# Contributor: Sapphira Armageddos <shadowkyogre@aim.com>
pkgname=qbiobeat-git
pkgver=0.1.6
pkgrel=1
pkgdesc="A small biorhythm application based on PyQt4"
arch=('any')
url="https://github.com/ShadowKyogre/QBioBeat"
license=('GPL')
depends=('python-pyqt4')
source=("${pkgname}"::"git+https://github.com/ShadowKyogre/QBioBeat.git")
md5sums=(SKIP) #generate with 'makepkg -g'

pkgver() {
  cd "${srcdir}/${pkgname}"
  git describe --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}

build() {
  cd "${srcdir}/${pkgname}"
  python3 ./setup.py build
}

package()
{
  cd "${srcdir}/${pkgname}"
  python3 ./setup.py install --root="$pkgdir"
}

# vim:set ts=2 sw=2 et: