summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAsamK2019-07-18 11:02:10 +0200
committerAsamK2019-07-18 11:06:01 +0200
commitf00b6a5f9fb560951dd598e86a9f8b4c551649ce (patch)
tree0b982721092ca42c67a4223ff344e4629bdadf57
parent2ebe87dabc3f468759faabb1153f8b900b682384 (diff)
downloadaur-git-absorb.tar.gz
Version 0.5.0
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD14
2 files changed, 13 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8298c79d86f..90a7a2300cd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,14 @@
-# Generated by mksrcinfo v8
-# Thu Jan 31 10:41:30 UTC 2019
pkgbase = git-absorb
pkgdesc = git commit --fixup, but automatic
- pkgver = 0.3.0
+ pkgver = 0.5.0
pkgrel = 1
url = https://github.com/tummychow/git-absorb
arch = i686
arch = x86_64
license = BSD
makedepends = cargo
- source = git-absorb-0.3.0.tar.gz::https://github.com/tummychow/git-absorb/archive/0.3.0.tar.gz
- sha256sums = 94d540a7febd37cd74e95e7cab71ee3514df020989208ce3fe83560699072730
+ source = git-absorb-0.5.0.tar.gz::https://github.com/tummychow/git-absorb/archive/0.5.0.tar.gz
+ sha256sums = c4ef4fa28222773d695aab7711abbfac7e81c35a37eafe45f79d045516df28b1
pkgname = git-absorb
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"