blob: 8553e61c5e5472ef9aa7c3f5fb62bc561a9e8cea (
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
|
# Maintainer: Martin Rys <https://rys.rs/contact> | Toss a coin on https://rys.rs/donate
pkgname=vtracer
pkgver=0.6.4
pkgrel=2
pkgdesc="Convert PNG to SVG"
arch=(x86_64)
url="https://github.com/visioncortex/vtracer"
license=('MIT')
depends=('gcc-libs')
options=('!lto')
makedepends=('rust')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/visioncortex/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('a4b554afe0384ddbdb5f96dde2d2e6f412493ae990acc32e0d71c4f8b63d8ba4')
build() {
cd "${pkgname}-${pkgver}"
cargo build --release
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm755 target/release/vtracer "${pkgdir}/usr/bin/vtracer"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|