summaryrefslogtreecommitdiff
path: root/community/zsync/PKGBUILD
blob: 5835bdad1ed39f3a0440987cc6ec9470b023a6c1 (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
28
29
30
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')