summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 15d50c35602e5245b4e42e56aef8d7ce9e8c3f4a (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: Maxwell Pray a.k.a. Synthead <synthead@gmail.com>

pkgname="python2-purple-git"
pkgver="r226.b4ed49b"
pkgrel="1"
pkgdesc="Python bindings for libpurple."
arch=("i686" "x86_64")
url="https://github.com/fahhem/python-purple"
license=("GPL")
depends=("python2" "libpurple")
makedepends=("git" "cython2")
source=("git+https://github.com/fahhem/python-purple")
md5sums=("SKIP")

pkgver() {
	cd "$srcdir/python-purple"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "$srcdir/python-purple"
  python2 setup.py build
}

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