summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordasbaumwolltier2019-03-06 15:21:24 +0100
committerdasbaumwolltier2019-03-06 15:21:24 +0100
commitb85afed03c83f308189f89c1d9a95827c61528d2 (patch)
tree43dd583a6713ab1784d8cda895d93c2d7ba1838c
downloadaur-b85afed03c83f308189f89c1d9a95827c61528d2.tar.gz
Created package
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD37
3 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0bd6a6503c3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = git-interactive-rebase-tool
+ pkgdesc = Native cross platform full feature terminal based sequence editor for git interactive rebase. Written in Rust using ncurses.
+ pkgver = 0.7.0
+ pkgrel = 1
+ url = https://gitrebasetool.mitmaro.ca/
+ arch = x86_64
+ makedepends = rust
+ makedepends = cargo
+ depends = openssl
+ depends = libgit2
+ depends = ncurses5-compat-libs
+ depends = xz
+ provides = git-interactive-rebase-tool
+ conflicts = git-interactive-rebase-tool
+ source = git+https://github.com/MitMaro/git-interactive-rebase-tool.git
+ sha256sums = SKIP
+
+pkgname = git-interactive-rebase-tool
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..72e8ffc0db8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f72d3435f61
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Gabriel Guldner <gabriel at guldner dot eu>
+
+pkgname=git-interactive-rebase-tool
+pkgver=0.7.0
+pkgrel=1
+pkgdesc='Native cross platform full feature terminal based sequence editor for git interactive rebase. Written in Rust using ncurses.'
+arch=('x86_64')
+url='https://gitrebasetool.mitmaro.ca/'
+license=('ISC')
+depends=('libgit2')
+makedepends=('rust' 'cargo')
+provides=('git-interactive-rebase-tool')
+conflicts=('git-interactive-rebase-tool')
+sha256sums=('SKIP')
+source=('git+https://github.com/MitMaro/git-interactive-rebase-tool.git')
+
+prepare() {
+ cd $pkgname
+ git checkout tags/$pkgver
+ git clean -dfx
+}
+build() {
+ cd $pkgname
+ cargo build --release
+}
+
+package() {
+ cd $pkgname
+ mkdir -p $pkgdir/usr/bin
+ mkdir -p $pkgdir/usr/share/man/man1
+ mkdir -p $pkgdir/usr/share/licenses/$pkgname
+ install -m755 target/release/interactive-rebase-tool $pkgdir/usr/bin/interactive-rebase-tool
+ install -m644 src/interactive-rebase-tool.1 $pkgdir/usr/share/man/man1/interactive-rebase-tool.1
+ install -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname
+ gzip $pkgdir/usr/share/man/man1/interactive-rebase-tool.1
+}
+