summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7a613cc73ee3c0fadd4c1dae4a29474ff9f14417 (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
# Maintainer: RaphGL <raphfl.dev@gmail.com>
pkgname=tuckr-git
pkgver=0.10.0
pkgrel=2
epoch=1
pkgdesc="A super powered replacement for GNU Stow"
arch=('x86_64' 'i686' 'aarch64')
url="https://github.com/RaphGL/Tuckr"
license=('GPLv3')
makedepends=('cargo' 'git')
source=("git+$url")
md5sums=("SKIP")

build() {
    export RUSTUP_TOOLCHAIN=stable
    export CARGO_TARGET_DIR=target
    cd Tuckr
    git checkout $pkgver
    cargo build --release
}

package() {
    cd Tuckr
    install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/tuckr"
}