blob: 5814b64db79c47967ffbfaef9a4200e6b1e717fe (
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
|
# Maintainer: Vojtech Kral ❬vojtech%kral.hk❭
pkgname=bard
pkgver=1.0.3
pkgrel=2
pkgdesc="Creates PDF and HTML songbooks out of easy-to-write Markdown sources."
arch=('x86_64')
url="https://github.com/vojtechkral/bard"
license=('Apache-2.0')
depends=()
optdepends=('texlive-bin: TeX engine (generate PDFs) '
'tectonic: Alternative TeX engine (generate PDFs) ')
source=("$pkgname-$pkgver.tar.gz::https://github.com/vojtechkral/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('c55cb0e263e721c7faddb670493b3ad29a1e040e973e1be58fefef510b0a9e8c')
build() {
cd "$pkgname-$pkgver"
cargo build --release --locked
}
# Not using check as that would require xelatex and tectonic
# to build the default and example projects...
# check() {
# cd "$pkgname-$pkgver"
# cargo test --release --locked
# }
package() {
cd "$pkgname-$pkgver"
install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
}
|