1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-11-25 01:52:18 -05:00

rusty-keys-git: cargo fetch in prepare()

This commit is contained in:
Travis Burtrum 2019-01-10 00:28:48 -05:00
parent 439e989f02
commit 221d9cb7c7

View File

@ -1,7 +1,7 @@
# Maintainer: moparisthebest <admin dot archlinux AT moparisthebest dot com>
pkgname=rusty-keys-git
pkgver=0.0.2.r17.gf15edf8
pkgver=0.0.2.r18.g0ffc169
pkgrel=1
pkgdesc="uinput level keyboard mapper for linux"
url="https://code.moparisthebest.com/moparisthebest/rusty-keys"
@ -21,6 +21,11 @@ pkgver() {
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$pkgname"
cargo fetch
}
build() {
cd "$pkgname"
cargo build --release