summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadoslaw Mejer2019-11-06 16:18:44 +0100
committerRadoslaw Mejer2019-11-06 16:18:44 +0100
commitac93650cdb6412cfbda3ff9dac960d8e4a267cef (patch)
treec6d3fe6a2eb9d6c61d0839937135df4a0f0aec26
downloadaur-ac93650cdb6412cfbda3ff9dac960d8e4a267cef.tar.gz
Add files
-rw-r--r--.SRCINFO11
-rw-r--r--.gitignore5
-rw-r--r--Makefile5
-rw-r--r--PKGBUILD17
4 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..21937971593
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,11 @@
+pkgbase = git-toolbelt
+ pkgdesc = A suite of useful Git commands that aid with scripting or every day command line usage
+ pkgver = 1.3.0
+ pkgrel = 1
+ url = https://github.com/nvie/git-toolbelt
+ arch = any
+ source = git-toolbelt-1.3.0.zip::https://github.com/nvie/git-toolbelt/archive/v1.3.0.tar.gz
+ sha256sums = 67234011a784ae8b02a1173923483239147eb6d2d834665dd816ea976c269ff4
+
+pkgname = git-toolbelt
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..4db48576517
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*
+!.gitignore
+!PKGBUILD
+!.SRCINFO
+!Makefile
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000000..a1451de8802
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,5 @@
+.PHONY: all
+all: .SRCINFO
+
+.SRCINFO: PKGBUILD
+ makepkg --printsrcinfo > .SRCINFO
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b9d14b73ecd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,17 @@
+pkgname="git-toolbelt"
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="A suite of useful Git commands that aid with scripting or every day command line usage"
+arch=(any)
+url="https://github.com/nvie/git-toolbelt"
+source=(
+ "git-toolbelt-$pkgver.zip::https://github.com/nvie/git-toolbelt/archive/v$pkgver.tar.gz"
+)
+sha256sums=(
+ "ed369d58476e10a0a0c025c889dcf7a15e3abe7eb60db2e716d9a4b25db0e892"
+)
+
+package() {
+ install -d "$pkgdir/usr/bin"
+ install -Dm755 "$srcdir"/git-toolbelt-$pkgver/git-* "$pkgdir/usr/bin/"
+}