diff options
Diffstat (limited to 'community/zsync/PKGBUILD')
-rw-r--r-- | community/zsync/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/zsync/PKGBUILD b/community/zsync/PKGBUILD new file mode 100644 index 000000000..5835bdad1 --- /dev/null +++ b/community/zsync/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 96292 2013-08-24 09:07:29Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com> +# Contributor: damir <damir@archlinux.org> + +pkgname=zsync +pkgver=0.6.2 +pkgrel=2 +pkgdesc="A file transfer program that's able to connect to rsync servers" +arch=("i686" "x86_64") +url="http://zsync.moria.org.uk/" +depends=("glibc") +license=("custom:Artistic") +#source=(http://belnet.dl.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz) +source=(http://${pkgname}.moria.org.uk/download/${pkgname}-${pkgver}.tar.bz2) + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + + make prefix="${pkgdir}"/usr install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/common/$pkgname/COPYING" +} + +sha1sums=('5e69f084c8adaad6a677b68f7388ae0f9507617a') |