blob: d8d2ab3adc864733c1d97fc45de84db3110e8aac (
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
|
# Contributor: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Johannes Dewender arch at JonnyJD dot net
# Contributor: Adrian Sampson <adrian@radbox.org>
pkgname=python-musicbrainzngs-git
pkgver=0.7.1.r20.g1638c62
pkgrel=2
pkgdesc="Python bindings for Musicbrainz' NGS webservice"
arch=('any')
url=https://github.com/alastair/python-musicbrainzngs
license=('BSD-2-Clause' 'ISC')
makedepends=('git' 'python-setuptools')
source=('git+https://github.com/alastair/python-musicbrainzngs.git')
md5sums=('SKIP')
pkgver() {
cd python-musicbrainzngs
git describe --tags | sed -e 's/^v//;s/-/.r/;s/-/./g'
}
build() {
cd python-musicbrainzngs
python setup.py build
}
package() {
cd python-musicbrainzngs
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/python-musicbrainzngs/
}
# vim:set ts=2 sw=2 et:
|