blob: 521637cba40be2591c0235121e15c05f8799d699 (
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: Aaron McDaniel (mcd1992) <'aur' at the domain 'fgthou.se'>
pkgname=python-fsb5-git
pkgver=5acfaed
pkgrel=1
pkgdesc="Library and tool to extract audio from FSB5 (FMOD Sample Bank) files"
url="https://github.com/hearthsim/python-fsb5"
arch=('x86_64')
provides=('python-fsb5')
license=('MIT')
makedepends=('git')
depends=('libogg' 'libvorbis' 'python')
optdepends=()
backup=()
source=("${pkgname}::git+https://github.com/HearthSim/python-fsb5.git")
md5sums=('SKIP')
pkgver() {
cd ${pkgname}
# Remove 'v' prefix on tags; prefix revision with 'r'; replace all '-' with '.'
git describe --long --always | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd ${pkgname}
python setup.py build
}
package() {
cd ${pkgname}
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -DTm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
|