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

pkgname=gtransmemory-git
pkgver=0.4.0
pkgrel=1
pkgdesc="GTK+ application to manage words and sentences translations in many memories for each language."
url="http://www.muflone.com/gtransmemory"
arch=('any')
license=('GPL3')
makedepends=('git' 'python-setuptools')
depends=('gtk3' 'python-xdg' 'python-gobject' 'python-polib')
provides=('gtransmemory')
conflicts=('gtransmemory')
source=("git+https://github.com/muflone/gtransmemory.git")
sha256sums=('SKIP')

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

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

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