summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Tatschner2016-01-19 10:42:19 +0100
committerStefan Tatschner2016-01-19 10:42:19 +0100
commitd4d4751bbcc466eb227918344a2bfd95ac673055 (patch)
treea9872eb3fbaa062224cfbd11101ec947ec5f0ac0
parentf5bc4e7006eb081d58688dbb1f93a310a61be7d9 (diff)
downloadaur-d4d4751bbcc466eb227918344a2bfd95ac673055.tar.gz
upgpkg: git-ftp 1.1.0-3
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD21
-rw-r--r--git-ftp-0.9.0-Replace-pandoc-with-ronn.patch14
3 files changed, 10 insertions, 31 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f9d5ebae918..d8d51733619 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Jan 18 06:52:52 UTC 2016
+# Tue Jan 19 09:42:19 UTC 2016
pkgbase = git-ftp
pkgdesc = Git powered FTP client written as shell script
pkgver = 1.1.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/git-ftp/git-ftp
arch = any
license = GPL
@@ -11,9 +11,7 @@ pkgbase = git-ftp
depends = curl
depends = git
source = https://github.com/git-ftp/git-ftp/archive/1.1.0.tar.gz
- source = git-ftp-0.9.0-Replace-pandoc-with-ronn.patch
sha256sums = b0de6dc36db506ac25a6fda21cb33d37b6a0b205fc72b0bd96de87359defc837
- sha256sums = 8b790a88290fce3b769a69878244c01ff519b7c2abd8b3f878fe61589cf1393e
pkgname = git-ftp
diff --git a/PKGBUILD b/PKGBUILD
index 1419ecd6931..18847c9676c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,29 +2,24 @@
pkgname=git-ftp
pkgver=1.1.0
-pkgrel=2
+pkgrel=3
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")
-sha256sums=('b0de6dc36db506ac25a6fda21cb33d37b6a0b205fc72b0bd96de87359defc837'
- '8b790a88290fce3b769a69878244c01ff519b7c2abd8b3f878fe61589cf1393e')
+source=("https://github.com/git-ftp/git-ftp/archive/${pkgver}.tar.gz")
+sha256sums=('b0de6dc36db506ac25a6fda21cb33d37b6a0b205fc72b0bd96de87359defc837')
-prepare() {
- cd $pkgname-$pkgver
- patch -p1 -i ../git-ftp-0.9.0-Replace-pandoc-with-ronn.patch
+build() {
+ cd $pkgname-$pkgver/man
+ make man-ronn
}
package() {
cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install-all
- cd "$pkgdir"
- install -d usr/share/
- mv bin usr/
- mv man usr/share
+ install -D "git-ftp" "${pkgdir}/usr/bin/git-ftp"
+ install -D "man/man1/git-ftp.1" "${pkgdir}/usr/share/man/man1/git-ftp.1"
}
diff --git a/git-ftp-0.9.0-Replace-pandoc-with-ronn.patch b/git-ftp-0.9.0-Replace-pandoc-with-ronn.patch
deleted file mode 100644
index 47e7bc3243e..00000000000
--- a/git-ftp-0.9.0-Replace-pandoc-with-ronn.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-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 \