summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 659fa2a45478281473ce046a2363301aa5b8bcb1 (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: acd407 <acd407@qq.com>
# Maintainer: masutu <masutu dot arch at gmail dot com>
# Contributor: masutu <masutu dot arch at gmail dot com>

pkgname=pyfluidsynth-git
_pkgname=pyfluidsynth
pkgver=r66.98b22fb
pkgrel=1
pkgdesc="Python bindings for FluidSynth"
arch=('any')
url="http://code.google.com/p/pyfluidsynth"
license=('LGPL')
depends=('fluidsynth')
makedepends=('git')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_pkgname}"::"git+https://github.com/nwhitehead/$_pkgname.git")
md5sums=('SKIP')

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

build() {
	cd "$_pkgname"
    python setup.py bdist_wheel
}

package() {
	cd "$_pkgname"
    python -m installer --destdir="${pkgdir}" dist/*.whl
}