summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 13dbe167bf2..e8907443b2f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: AsamK <asamk@gmx.de>
pkgname=git-absorb
-pkgver=0.3.0
+pkgver=0.5.0
pkgrel=1
pkgdesc="git commit --fixup, but automatic "
arch=('i686' 'x86_64')
@@ -12,18 +12,24 @@ makedepends=(
'cargo'
)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tummychow/git-absorb/archive/${pkgver}.tar.gz")
-sha256sums=('94d540a7febd37cd74e95e7cab71ee3514df020989208ce3fe83560699072730')
+sha256sums=('c4ef4fa28222773d695aab7711abbfac7e81c35a37eafe45f79d045516df28b1')
build() {
cd "${pkgname}-${pkgver}"
- cargo build --release
+ cargo build --release --locked
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+
+ cargo test --release --locked
}
package() {
cd "${pkgname}-${pkgver}"
- install -Dm755 target/release/"${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm755 target/release/"${pkgname}" -t "${pkgdir}/usr/bin/"
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"