summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiodrag Tokić2019-09-09 16:35:36 +0200
committerMiodrag Tokić2019-09-09 16:36:38 +0200
commit9494cc2a5a7651194e8b4a3bf9e7c3804ad79b33 (patch)
treeb4101cafc44eafcadf96150c643406e93b0c9b20
parentfe2bb223bee308d9746a109f421b937991b843d8 (diff)
downloadaur-9494cc2a5a7651194e8b4a3bf9e7c3804ad79b33.tar.gz
Small packaging improvements
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD18
2 files changed, 11 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 269df06dc79..3289796bd78 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = git-ftp
pkgdesc = Git powered FTP client written as shell script
pkgver = 1.5.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/git-ftp/git-ftp
arch = any
license = GPL
makedepends = pandoc
depends = curl
depends = git
- source = git-ftp-v1.5.2.tar.gz::https://github.com/git-ftp/git-ftp/archive/1.5.2.tar.gz
+ source = git-ftp-1.5.2.tar.gz::https://github.com/git-ftp/git-ftp/archive/1.5.2.tar.gz
sha256sums = a6bf52f6f1d30c4d8f52fd0fbd61dc9f32e66099e3e9c4994bec65094305605b
pkgname = git-ftp
diff --git a/PKGBUILD b/PKGBUILD
index 8d94e41e324..6e0ee5b8ca3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,24 +4,24 @@
pkgname=git-ftp
pkgver=1.5.2
-pkgrel=1
+pkgrel=2
pkgdesc='Git powered FTP client written as shell script'
-url='https://github.com/git-ftp/git-ftp'
arch=('any')
+url='https://github.com/git-ftp/git-ftp'
license=('GPL')
depends=('curl' 'git')
makedepends=('pandoc')
-source=("${pkgname}-v${pkgver}.tar.gz::https://github.com/git-ftp/git-ftp/archive/${pkgver}.tar.gz")
+
+source=("$pkgname-$pkgver.tar.gz::https://github.com/git-ftp/git-ftp/archive/$pkgver.tar.gz")
sha256sums=('a6bf52f6f1d30c4d8f52fd0fbd61dc9f32e66099e3e9c4994bec65094305605b')
build() {
- cd $pkgname-$pkgver/man
- make man
+ cd "$pkgname-$pkgver/man"
+ make man
}
package() {
- cd $pkgname-$pkgver
-
- install -D "git-ftp" "${pkgdir}/usr/bin/git-ftp"
- install -D "man/git-ftp.1" "${pkgdir}/usr/share/man/man1/git-ftp.1"
+ cd "$pkgname-$pkgver"
+ install -D -m 755 git-ftp "$pkgdir/usr/bin/git-ftp"
+ install -D -m 644 man/git-ftp.1 "$pkgdir/usr/share/man/man1/git-ftp.1"
}