summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD28
3 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3da7b06cdb9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by mksrcinfo v8
+# Sun May 15 22:47:34 UTC 2016
+pkgbase = python-vcs-move-git
+ pkgdesc = Interactively moves files under revision control using a text editor.
+ pkgver = 0.1.3.r11.g26b1ed6
+ pkgrel = 1
+ url = https://github.com/myint/move
+ arch = any
+ license = MIT
+ depends = python
+ source = myint-move::git://github.com/myint/move.git
+ md5sums = SKIP
+
+pkgname = python-vcs-move-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..a5401c5d685
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+pkg/
+src/
+*.pkg.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5d659460c4d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Contributor: Sapphira Armageddos <shadowkyogre.public@gmail.com>
+
+_upstream="myint-move"
+
+pkgname=python-vcs-move-git
+pkgver=0.1.3.r11.g26b1ed6
+pkgrel=1
+pkgdesc="Interactively moves files under revision control using a text editor."
+arch=('any')
+url="https://github.com/myint/move"
+license=('MIT')
+depends=('python')
+source=("$_upstream"::"git://github.com/myint/move.git")
+md5sums=(SKIP) #generate with 'makepkg -g'
+
+pkgver() {
+ cd "${srcdir}/${_upstream}"
+ git describe --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/^v//g'
+}
+
+package()
+{
+ cd "${srcdir}/${_upstream}"
+ python ./setup.py install --root="$pkgdir"
+ mv "${pkgdir}/usr/bin/move" "${pkgdir}/usr/bin/vcs-move"
+}
+
+# vim:set ts=2 sw=2 et: