diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8d68dae6839c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Tue Apr 26 00:43:33 UTC 2016 +pkgbase = ftpsync + pkgdesc = GNU FTPsync synchronizes a local dir with a remote URL. + pkgver = 20131128 + pkgrel = 1 + url = https://savannah.gnu.org/projects/ftpsync/ + arch = any + license = GPLv3 + depends = perl + depends = perl-file-listing + depends = perl-uri + source = git+git://git.savannah.gnu.org/ftpsync.git + md5sums = SKIP + +pkgname = ftpsync + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..acbca3571691 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: 4679kun <4679kun@outlook.com> +pkgname=ftpsync +pkgver=20131128 +pkgrel=1 +pkgdesc="GNU FTPsync synchronizes a local dir with a remote URL." +url="https://savannah.gnu.org/projects/ftpsync/" +arch=('any') +license=('GPLv3') +depends=( + 'perl' + 'perl-file-listing' + 'perl-uri' +) +source=("git+git://git.savannah.gnu.org/ftpsync.git") +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + git log -1 --format='%cd' --date=short | tr -d -- '-' +} + +package() { + install -Dm755 "${srcdir}/ftpsync/src/ftpsync" "${pkgdir}/usr/bin/ftpsync" + install -Dm755 "${srcdir}/ftpsync/src/ftpsync-ssl" "${pkgdir}/usr/bin/ftpsync-ssl" + install -Dm644 "${srcdir}/ftpsync/src/ftpsync.1" "${pkgdir}/usr/share/man/man1/ftpsync.1" +} |