diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6fc686f776dd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ + +pkgname=textdataparser-git +pkgver=0.1.0 +pkgrel=1 +pkgdesc="Trace the activities of an external application" +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}" +} + |