archrelease: copy trunk to community-any
[ArchLinux/community.git] / zsync / repos / community-x86_64 / PKGBUILD
blobd3dc3b8ab21377dbb1b9df2290552a5b74c27c8c
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
3 # Contributor: damir <damir@archlinux.org>
5 pkgname=zsync
6 pkgver=0.6.2
7 pkgrel=5
8 pkgdesc="A file transfer program that's able to connect to rsync servers"
9 arch=("x86_64")
10 url="http://zsync.moria.org.uk/"
11 depends=("glibc")
12 license=("custom:Artistic")
13 source=(http://${pkgname}.moria.org.uk/download/${pkgname}-${pkgver}.tar.bz2)
14 sha512sums=('56437594831f2320c532759805b5c51116c53c8848f14b54cfd9b76676d1d061abe7fc914264f496ed1c7922fbbd5b884166c855a2fb9eb1285f216e478c5f0d')
16 build() {
17   cd "${srcdir}"/${pkgname}-${pkgver}
19   ./configure --prefix=/usr
20   make
23 package() {
24   cd "${srcdir}"/${pkgname}-${pkgver}
26   make prefix="${pkgdir}"/usr install
27   install -d "$pkgdir/usr/share/licenses/$pkgname"
28   mv "$pkgdir/usr/share/doc/zsync/COPYING" "$pkgdir/usr/share/licenses/$pkgname/"