summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2019-11-27 17:42:53 +0300
committerCaleb Maclennan2019-11-27 17:54:53 +0300
commitdc0edadc36943c5446f8b0b61a1fd9ccc800fec5 (patch)
tree104a72579e7591310eb82ded34f08c3bf4e8bc58
downloadaur-dc0edadc36943c5446f8b0b61a1fd9ccc800fec5.tar.gz
Initial add of package
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD27
3 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f0940cc0847
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = git-quick-git
+ pkgdesc = edit a subset of files from a git repository on any branch
+ pkgver = 0.0.0.r5.ga948b44
+ pkgrel = 1
+ url = https://github.com/qwertzguy/git-quick
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ depends = git
+ provides = git-quick
+ conflicts = git-quick
+ source = git://github.com/qwertzguy/git-quick.git#branch=master
+ sha256sums = SKIP
+
+pkgname = git-quick-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..0ca50ff4dd9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!./.SRCINFO
+!./.gitignore
+!./PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c2cfadb8a38
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+
+pkgname=git-quick-git
+pkgver=0.0.0.r5.ga948b44
+pkgrel=1
+_branch=master
+pkgdesc="edit a subset of files from a git repository on any branch"
+arch=('x86_64')
+url="https://github.com/qwertzguy/${pkgname%-git}"
+license=('MIT')
+makedepends=('git')
+depends=('git')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=("git://github.com/qwertzguy/${pkgname%-git}.git#branch=$_branch")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${pkgname%-git}"
+ git tag v0.0.0 8c8b03a ||:
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+package() {
+ cd "${pkgname%-git}"
+ install -Dm 755 {.,$pkgdir/usr/bin}/${pkgname%-git}
+}