summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 488ae1f7945fd70bf43e3443598477ee3638e777 (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
# Maintainer: BadBoy <luckmelove2@gmail.com>

pkgname=('rascii')
pkgver=0.3
pkgrel=4
pkgdesc='Advanced image to ASCII art tool & crate written in Rust crabrocket.'
arch=('x86_64')
license=('MIT')
url='https://github.com/UTFeight/RASCII'
makedepends=('rust')


source=("git+${url}.git")

sha256sums=('SKIP')

build() {
    cd "${srcdir}/$(echo ${pkgname}|tr a-z A-Z)"
    cargo build --release
}

package() {
    install -Dm755 "${srcdir}/$(echo ${pkgname}|tr a-z A-Z)/target/release/${pkgname}" -t "${pkgdir}/usr/local/bin"
}