summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 615e3ac3151fa63969966e97e36afb8bff58e20d (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: Juliette Cordor
pkgname=ignoreit
pkgver=2.4.2
pkgrel=1
url="https://github.com/jewlexx/ignoreit"
makedepends=('rust' 'cargo')
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
pkgdesc="Quickly load .gitignore templates"
license=('MIT')
source=(
    "$pkgname-$pkgver.tar.gz::https://static.crates.io/crates/$pkgname/$pkgname-$pkgver.crate"
)

sha256sums=('4bcb5d8fcc504cf92a475fd5c785a86383d1402bf3599c63ad346c24a06caed9')

build() {
    return 0
}

package() {
    cd "$pkgname-$pkgver"
    export RUSTUP_TOOLCHAIN=stable
    cargo install --no-track --all-features --root="$pkgdir/usr/" --path .
}