summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 25cf78104243b875d6f5b0332be5fafd2520ec3e (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: jnanar <info@agayon.be>

pkgname='python-urwid-satext-hg'
_realname=urwid_satext
_hgname=urwid-satext
pkgver=.r146.4d6a29358f32
pkgrel=1
pkgdesc="Urwid satext is a curses-based user interface library for sat (salut à toi)."
license=('LGPL3+')
arch=('any')
depends=('python-urwid' 'python')
provides=('python-urwid-satext')
replaces=('python2-python-urwid-satext' 'python-urwid-satext')
url="https://www.goffi.org/"
source=("hg+https://repos.goffi.org/urwid-satext")
sha512sums=('SKIP')
#options=('!strip')

pkgver() {
    cd "$_hgname"
    printf "$_version.r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}

package() {
  cd "${srcdir}/${_hgname}"
  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
}