blob: da5fb64b500e65e08f3766878933e8894e9b7f8c (
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
28
|
# Maintainer: Charlotte Meyer <me@buffets.email>
pkgname=yolk
pkgver=0.1.0
pkgrel=1
pkgdesc="Templated dotfile management that won't get in your way"
arch=("x86_64")
url="https://elkowar.github.io/yolk/"
license=("MIT")
depends=("gcc-libs" "git" "glibc")
makedepends=("cargo")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ElKowar/yolk/archive/v${pkgver}.tar.gz")
b2sums=('2e7898cae9d5d0243f05f3355a34d96e3e5cd0be2615eb8a4ddd25a0021a1e4e55e84f5adafeb6b681d988fc28c530db79db2a7ecb73e0e853293ccf72c07f13')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
cargo fetch --locked --target "$(rustc -vV | sed -n 's|host: ||p')"
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cargo build --frozen --release --target-dir target
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -Dm755 target/release/yolk -t "${pkgdir}/usr/bin/"
}
|