summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8a8990a1269d549b41f75145cd82a4ce91e3ab81 (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
33
34
# Maintainer: Arnaud Joset <info [AT] agayon [DOT] be>
# Contributor: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>

pkgname=('sat-tmp-hg')
_realname=sat_tmp
pkgver=0.7.r88.298dac50ca73
_version=0.7
pkgrel=1
pkgdesc="sat_tmp aims to temporary store files needed by Salut-a-toi (sat). These monkey patchs are not merged upstream yet. For now, only wokkel is impacted."
url="https://salut-a-toi.org/"
arch=('any')
depends=('python' 'python-wokkel')
makedepends=('mercurial')
provides=('sat-tmp')
conflicts=('sat-tmp')
license=('AGPL3')
source=("hg+https://repos.goffi.org/sat_tmp")
md5sums=('SKIP')
options=('!strip')

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

build() {
  cd $_realname
  python setup.py build
}

package(){
  cd $_realname
  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}