summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Tatschner2015-06-29 13:27:39 +0200
committerStefan Tatschner2015-06-29 13:27:39 +0200
commitffc9820c7dcc3a365008820ad8199337f530697e (patch)
treee6b289ece4d8e5fbebd132de0af55d9c7fd2fd00
downloadaur-ffc9820c7dcc3a365008820ad8199337f530697e.tar.gz
Initial upload: git-ftp 1.0.2-1
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD30
-rw-r--r--git-ftp-0.9.0-Replace-pandoc-with-ronn.patch14
3 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7303e89ba7c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = git-ftp
+ pkgdesc = Git powered FTP client written as shell script
+ pkgver = 1.0.2
+ pkgrel = 1
+ url = https://github.com/git-ftp/git-ftp
+ arch = any
+ license = GPL
+ makedepends = ruby-ronn
+ depends = curl
+ depends = git
+ source = https://github.com/git-ftp/git-ftp/archive/1.0.2.tar.gz
+ source = git-ftp-0.9.0-Replace-pandoc-with-ronn.patch
+ md5sums = bb48c82f402a643fa117d209b377db76
+ md5sums = 12463b49d14f3133bed635002a33fa68
+
+pkgname = git-ftp
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c0cb52e26c6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Stefan Tatschner <stefan@sevenbyte.org>
+
+pkgname=git-ftp
+pkgver=1.0.2
+pkgrel=1
+pkgdesc='Git powered FTP client written as shell script'
+url='https://github.com/git-ftp/git-ftp'
+arch=('any')
+license=('GPL')
+depends=('curl' 'git')
+makedepends=('ruby-ronn')
+source=(https://github.com/git-ftp/git-ftp/archive/$pkgver.tar.gz
+ git-ftp-0.9.0-Replace-pandoc-with-ronn.patch)
+md5sums=('bb48c82f402a643fa117d209b377db76'
+ '12463b49d14f3133bed635002a33fa68')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../git-ftp-0.9.0-Replace-pandoc-with-ronn.patch
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install-all
+
+ cd "$pkgdir"
+ install -d usr/share/
+ mv bin usr/
+ mv man usr/share
+}
diff --git a/git-ftp-0.9.0-Replace-pandoc-with-ronn.patch b/git-ftp-0.9.0-Replace-pandoc-with-ronn.patch
new file mode 100644
index 00000000000..47e7bc3243e
--- /dev/null
+++ b/git-ftp-0.9.0-Replace-pandoc-with-ronn.patch
@@ -0,0 +1,14 @@
+diff -rupN a/man/Makefile b/man/Makefile
+--- a/man/Makefile 2013-12-01 14:58:57.000000000 +0100
++++ b/man/Makefile 2014-02-12 14:11:19.190068857 +0100
+@@ -9,9 +9,7 @@ all:
+ @echo " make clean"
+ man:
+ install -d -m 0755 man1
+- pandoc -s \
+- -w man git-ftp.1.md \
+- -o $(MAN_FILE)
++ ronn -r --pipe git-ftp.1.md > $(MAN_FILE)
+ html:
+ pandoc -s -S --toc \
+ -c git-ftp.css git-ftp.1.md \