upgpkg: ufw 0.36.2-1
[ArchLinux/community.git] / faustpp / trunk / PKGBUILD
blobd8ffa9fd814e7a345338bb103a7068e9b383aae3
1 # Maintainer: David Runge <dvzrv@archlinux.org>
3 pkgname=faustpp
4 pkgver=1.0.0
5 pkgrel=2
6 pkgdesc="A post-processor for faust, which allows to generate with more flexibility"
7 arch=(any)
8 url="https://github.com/jpcima/faustpp"
9 license=(custom Boost)
10 depends=(faust python python-jinja)
11 makedepends=(python-build python-installer python-setuptools python-wheel)
12 source=($pkgname-$pkgver.tar.gz::https://github.com/jpcima/$pkgname/archive/refs/tags/v$pkgver.tar.gz)
13 sha512sums=('e40ca88833977c4c6c145f4c638eaca230e35f3b0fea2d8f99e397456c33a9eba28a16c34254a7929aceaaee59f90c48b80d323aaea243875a4dd8e4dd921c81')
14 b2sums=('9ead53c9e07431ad8d1dccf6e00ffb91aef51ff995456f4c3abe2b7b389aa9777aeca3504ab3880c714e0a4bd04a7de1a0aafac34b269e8ea179ac595660c4c3')
16 build() {
17   cd $pkgname-$pkgver
18   python -m build --wheel --no-isolation
21 package() {
22   cd $pkgname-$pkgver
23   python -m installer --destdir="$pkgdir" dist/*.whl
24   install -vDm 644 LICENSE-EXCEPTION.md -t "$pkgdir/usr/share/licenses/$pkgname/"
25   install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"