summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 637d1bd91671a6a3681fa85e9d721ebccc2b7cfb (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
# Maintainer: Sam Whited <sam@samwhited.com>

pkgname=python-jclib-git
conflicts=('python-jclib')
provides=('python-jclib')
pkgver=v0.1.0.r223.d34055ea0110
pkgrel=1
pkgdesc='The core of the jabbercat XMPP client'
arch=('any')
url='https://jabbercat.org'
license=('GPL3')
depends=('python'
         'python-hsluv')
makedepends=('python-setuptools')
source=("$pkgname::git+https://github.com/jabbercat/jclib.git")
sha256sums=('SKIP')

pkgver() {
  cd $pkgname
  printf "v%s.r%s.%s" "$(python setup.py --version)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

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

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

# vim:set ts=2 sw=2 et: