summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 36bb2a9ab329c736e65764ad7967aa1a8e830779 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: éclairevoyant

pkgname=ly2video
pkgver=0.5.0
pkgrel=2
pkgdesc="Generate videos from Lilypond sheet music files"
arch=(any)
url="https://github.com/aspiers/$pkgname"
license=(GPL3)
depends=(ffmpeg lilypond python-mido python-pexpect python-pillow timidity++)
makedepends=(python-setuptools python-{build,installer,wheel})
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
b2sums=('7d5c01f32d8a92fbe19fc76a3e176814361ac029203d2cf06df5a64747aea5b4dfa5dc8a966b0804ca578f36c56c53d2693fc64d015cdea3bf3b5c35a4d2b557')

build() {
	cd $pkgname-$pkgver
	python -m build -wn
}

package() {
	cd $pkgname-$pkgver
	python -m installer -d "$pkgdir" dist/*.whl
}