summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD31
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8298c79d86f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# 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
+ 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
+
+pkgname = git-absorb
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..13dbe167bf2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: AsamK <asamk@gmx.de>
+pkgname=git-absorb
+pkgver=0.3.0
+pkgrel=1
+pkgdesc="git commit --fixup, but automatic "
+arch=('i686' 'x86_64')
+url="https://github.com/tummychow/git-absorb"
+license=('BSD')
+depends=(
+)
+makedepends=(
+ 'cargo'
+)
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tummychow/git-absorb/archive/${pkgver}.tar.gz")
+sha256sums=('94d540a7febd37cd74e95e7cab71ee3514df020989208ce3fe83560699072730')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+
+ cargo build --release
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+
+ install -Dm755 target/release/"${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+
+ install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+
+ install -Dm644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}