summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 60d6dea614335dee82547cb8f488e06dd883c576 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Miodrag Tokić
# Contributor:  Marcin Wieczorek <marcin@marcin.co>
# Contributor: Stefan Tatschner <rumpelsepp@sevenbyte.org>

pkgname=git-ftp
pkgver=1.6.0
pkgrel=1
pkgdesc='Uses Git to upload only changed files to FTP servers'
arch=('any')
url='https://github.com/git-ftp/git-ftp'
license=('GPL')
depends=('curl' 'git')
makedepends=('pandoc')

source=("$pkgname-$pkgver.tar.gz::https://github.com/git-ftp/git-ftp/archive/$pkgver.tar.gz")
sha256sums=('088b58d66c420e5eddc51327caec8dcbe8bddae557c308aa739231ed0490db01')

build() {
    cd "$pkgname-$pkgver/man"
    make man
}

package() {
    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"
}