summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f9298e7fee54444f810349330e2031601402cbbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Maintainer: Konstantin Stepanov <me@kstep.me>
pkgname=cargo-pkgbuild
pkgver=0.1.0
pkgrel=2
makedepends=('rust' 'cargo')
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
pkgdesc="ArchLinux's PKGBULD generator from Cargo.toml manifest file"
url='https://github.com/kstep/cargo-pkgbuild'
license=('MIT/Apache-2.0')

build() {
    return 0
}

package() {
    cargo install --root="$pkgdir/usr/" cargo-pkgbuild
    rm -f "$pkgdir/usr/.crates.toml"
}