* add zsync
This commit is contained in:
parent
c98f3cbd65
commit
c239dac0c1
30
zsync/PKGBUILD
Normal file
30
zsync/PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
|
||||
# Contributor: damir <damir@archlinux.org>
|
||||
|
||||
pkgname=zsync
|
||||
pkgver=0.6.2
|
||||
pkgrel=5
|
||||
pkgdesc="A file transfer program that's able to connect to rsync servers"
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url="http://zsync.moria.org.uk/"
|
||||
depends=("glibc")
|
||||
license=("custom:Artistic")
|
||||
source=(http://${pkgname}.moria.org.uk/download/${pkgname}-${pkgver}.tar.bz2)
|
||||
sha512sums=('56437594831f2320c532759805b5c51116c53c8848f14b54cfd9b76676d1d061abe7fc914264f496ed1c7922fbbd5b884166c855a2fb9eb1285f216e478c5f0d')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"/${pkgname}-${pkgver}
|
||||
|
||||
./configure --prefix=/usr --build=${CHOST}
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}"/${pkgname}-${pkgver}
|
||||
|
||||
make prefix="${pkgdir}"/usr install
|
||||
install -d "$pkgdir/usr/share/licenses/$pkgname"
|
||||
mv "$pkgdir/usr/share/doc/zsync/COPYING" "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user