summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKr1ss2018-12-13 21:43:08 +0100
committerKr1ss2018-12-13 21:47:44 +0100
commit4ffee47f475455ec2d829ae3680548e3ff0d54f1 (patch)
tree7cfc5a311b9e4a4c026c274a527cb15e7a16d014
downloadaur-4ffee47f475455ec2d829ae3680548e3ff0d54f1.tar.gz
initial upload: git-fiddle-git r67.606086d-1
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD36
-rw-r--r--git-fiddle.patch11
-rw-r--r--git-fiddle.patch.sigbin0 -> 566 bytes
4 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..373601a3b30
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = git-fiddle-git
+ pkgdesc = Edit commit messages, authors, and timestamps during git-rebase
+ pkgver = r67.606086d
+ pkgrel = 1
+ url = https://github.com/felixSchl/git-fiddle
+ arch = any
+ license = MIT
+ depends = git
+ source = git-fiddle::git+https://github.com/felixSchl/git-fiddle.git
+ source = git-fiddle.patch
+ source = git-fiddle.patch.sig
+ validpgpkeys = 7A194E3F7A8F867BEA8A5339023F078862ACFE50
+ sha256sums = SKIP
+ sha256sums = 427f7d910811e10991e32da3b210925dc69886f8687d7464c21966955c03d056
+ sha256sums = SKIP
+
+pkgname = git-fiddle-git
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..636906e8060
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Kr1ss <kr1ss.x@yandex.com>
+# Contributor: Chris Lahaye <dev@chrislahaye.com> (AUR package 'git-fiddle')
+
+pkgname=git-fiddle-git
+pkgver=r67.606086d
+pkgrel=1
+pkgdesc='Edit commit messages, authors, and timestamps during git-rebase'
+url='https://github.com/felixSchl/git-fiddle'
+arch=('any')
+license=('MIT')
+depends=('git')
+source=("${pkgname%-git}::git+https://github.com/felixSchl/git-fiddle.git"
+ 'git-fiddle.patch'
+ 'git-fiddle.patch.sig')
+sha256sums=('SKIP'
+ '427f7d910811e10991e32da3b210925dc69886f8687d7464c21966955c03d056'
+ 'SKIP')
+validpgpkeys=('7A194E3F7A8F867BEA8A5339023F078862ACFE50')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd "$srcdir"
+ patch -p1 <git-fiddle.patch
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname%-git}/LICENSE"
+ install -Dm644 "man1/${pkgname%-git}.1" "$pkgdir/usr/share/man/man1/${pkgname%-git}.1"
+ install -Dm755 _fiddle_seq_editor "$pkgdir/usr/lib/${pkgname%-git}/_fiddle_seq_editor"
+ install -Dm755 "${pkgname%-git}" "$pkgdir/usr/bin/${pkgname%-git}"
+}
diff --git a/git-fiddle.patch b/git-fiddle.patch
new file mode 100644
index 00000000000..862ea2ead01
--- /dev/null
+++ b/git-fiddle.patch
@@ -0,0 +1,11 @@
+--- gf/git-fiddle/git-fiddle 2018-12-13 20:06:44.904371633 +0100
++++ gf2/git-fiddle/git-fiddle 2018-12-13 20:45:32.131986428 +0100
+@@ -32,7 +32,7 @@
+ # [git config: fiddle.body]
+ # [args...] These arguments are passed verbatim to git-rebase
+
+-SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
++SCRIPT_DIR='/usr/lib/git-fiddle'
+ ORIGINAL_GIT_SEQUENCE_EDITOR="$GIT_SEQUENCE_EDITOR"
+
+ # derive the help text from the first comment in a shell script
diff --git a/git-fiddle.patch.sig b/git-fiddle.patch.sig
new file mode 100644
index 00000000000..1fe92a9b0ba
--- /dev/null
+++ b/git-fiddle.patch.sig
Binary files differ