summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9fe68402ca8..0ea376a70f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
pkgname="gws2-git"
_reponame="gws2"
_binname="gws"
-pkgver=0.1.0.r2.g3c97a0e
-pkgrel=2
+pkgver=0.1.0.r3.ga26c963
+pkgrel=1
pkgdesc="Colorful KISS helper for git workspaces"
url="https://github.com/emlun/${_reponame}"
license=('GPL3')
@@ -38,6 +38,11 @@ build() {
done
}
+check() {
+ cd "${srcdir}/${_reponame}"
+ cargo test
+}
+
package() {
install -D -m 755 "${srcdir}/${_reponame}/target/release/${_binname}" "${pkgdir}/usr/bin/${_binname}"
install -D -m 755 "${srcdir}/completions/bash" "${pkgdir}/usr/share/bash-completion/completions/${_binname}"