summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2439c19fcf236bed0bbb0f5af77a4564804e89fa (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
# Maintainer: Manolo Martínez <manolo@austrohungaro.com>

_pkgname=stagger
pkgname=python-stagger-git
pkgver=1.0.0
pkgrel=1
pkgdesc="ID3v1/ID3v2 tag manipulation package in pure Python 3"
arch=(any)
url="https://github.com/lorentey/stagger"
license=('BSD')
depends=('python')
makedepends=('git')
provides=('python-stagger-git')
conflicts=('python3-stagger-svn')
source=('git://github.com/lorentey/stagger.git')
md5sums=('SKIP')


pkgver() {
  cd $_pkgname
  git describe --tags --always | sed -e 's|-|.|g'
}

package() {
  cd "$srcdir/$_pkgname"

  msg "Running setup.py..."
  python setup.py install --root="${pkgdir}" --optimize=1
}