summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYen Chi Hsuan2018-01-04 14:58:28 +0800
committerYen Chi Hsuan2018-01-04 14:58:28 +0800
commit300ea48ce6693d728c100f4cdf442873183ef9af (patch)
tree19bd28c7fb15d55f87828bad968a7dabf1fa8204
parent6b92b10da7f7d25c3c30afe9178a02b5cc076748 (diff)
downloadaur-300ea48ce6693d728c100f4cdf442873183ef9af.tar.gz
add rsync for fetching sources via rsync://
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 11 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 11584ecf71c4..497a4ef79539 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,20 @@
pkgbase = macports-base-git
pkgdesc = The MacPorts command-line client
pkgver = 2.4.0.beta1.r195.gb22cb0f0
- pkgrel = 2
+ pkgrel = 3
url = https://www.macports.org/
arch = i686
arch = x86_64
license = BSD
makedepends = git
makedepends = tcl
+ makedepends = rsync
depends = curl
depends = man
depends = nmtree
depends = openssl
depends = sqlite
+ optdepends = rsync: for syncing sources via rsync
provides = macports-base=2.4.0.beta1.r195.gb22cb0f0
conflicts = macports-base
backup = opt/local/etc/macports/archive_sites.conf
diff --git a/PKGBUILD b/PKGBUILD
index ef8b356709a2..f4aaadb20910 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,16 +3,21 @@
_pkgname=macports-base
pkgname=$_pkgname-git
pkgver=2.4.0.beta1.r195.gb22cb0f0
-pkgrel=2
+pkgrel=3
pkgdesc='The MacPorts command-line client'
url='https://www.macports.org/'
arch=('i686' 'x86_64')
license=('BSD')
# man is used for `port help`
depends=('curl' 'man' 'nmtree' 'openssl' 'sqlite')
-# MacPorts comes with its own vendored tclsh, while a system interpreter
+# tcl: MacPorts comes with its own vendored tclsh, while a system interpreter
# is still needed to build tcllib
-makedepends=('git' 'tcl')
+# rsync: ./configure checks for `rsync` in $PATH and saves the value in
+# macports_autoconf.tcl, so this should be in makedepends, too
+makedepends=('git' 'tcl' 'rsync')
+optdepends=(
+ 'rsync: for syncing sources via rsync'
+)
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
source=("git+https://github.com/macports/$_pkgname")