summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d107daa70814c64062710da9579a0519db27b93a (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
# Maintainer: Muflone http://www.muflone.com/contacts/english/

pkgname=textdataparser-git
pkgver=0.1.0
pkgrel=1
pkgdesc="Graphical interface to view text data files with definitions"
url="http://www.muflone.com/textdataparser/"
arch=('any')
license=('GPL2')
depends=('gtk3' 'gobject-introspection' 'python2-xdg' 'python2-gobject' 'gtk-update-icon-cache')
makedepends=('git')
provides=('textdataparser')
conflicts=('textdataparser')
source=("git+https://github.com/muflone/textdataparser.git")
sha256sums=('SKIP')
install="${pkgname}.install"

pkgver() {
  cd "${pkgname%-*}"
  git describe --always | sed 's|-|.|g'
}

build() {
  cd "${pkgname%-*}"
  python2 setup.py build
}

package() {
  cd "${pkgname%-*}"
  python2 setup.py install --optimize=1 --root "${pkgdir}"
}