[arch-commits] Commit in zsync/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:10:14 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:10:14
  Author: felixonmars
Revision: 658354

archrelease: copy trunk to community-staging-x86_64

Added:
  zsync/repos/community-staging-x86_64/
  zsync/repos/community-staging-x86_64/PKGBUILD
    (from rev 658353, zsync/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: zsync/repos/community-staging-x86_64/PKGBUILD (from rev 658353, zsync/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:10:14 UTC (rev 658354)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
+# Contributor: damir <damir at 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")
+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
+  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/"
+}


More information about the arch-commits mailing list