blob: 9e7dd7a1c210f1597729bfa589e95b83a4cffcd9 (
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
|
# Maintainer: Light Ning <lightning1141@gmail.com>
pkgname=svgbob
_pkgver=0.7.2
pkgver=$(echo $_pkgver | sed -e "s/\-/\./")
pkgrel=0
pkgdesc='Convert your ascii diagram scribbles into happy little SVG'
arch=('i686' 'x86_64')
url="https://github.com/ivanceras/svgbob"
license=('Apache')
depends=('gcc-libs')
conflicts=('svgbob')
provides=('svgbob')
makedepends=('rust' 'git')
source=("${pkgname}::git+https://github.com/ivanceras/svgbob.git#tag=${_pkgver}")
sha1sums=('SKIP')
build() {
cd "${srcdir}/svgbob/packages/svgbob_cli"
cargo build --release
}
package() {
install -Dm755 "${srcdir}/svgbob/target/release/svgbob_cli" "${pkgdir}/usr/bin/svgbob"
install -Dm644 "${srcdir}/svgbob/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|