diff options
-rwxr-xr-x | checkVersions | 12 | ||||
-rw-r--r-- | mtx-svn/PKGBUILD | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/checkVersions b/checkVersions index dd2659fb..7f03e27a 100755 --- a/checkVersions +++ b/checkVersions @@ -458,6 +458,18 @@ then pkgver ) elif echo "${src}" | \ + grep -q '^svn\(+[^:]\+\)\?://[^#]\+\(#revision=[^#]\+\)\?$' + then + remVer=$( + cd "$1" + ( + cd "${src_name}" + svn update >/dev/null + ) + srcdir=$(pwd) + pkgver + ) + elif echo "${src}" | \ grep -q "^https://pypi\.python\.org/packages/" then qu=$( diff --git a/mtx-svn/PKGBUILD b/mtx-svn/PKGBUILD index e37e0556..8ddebde3 100644 --- a/mtx-svn/PKGBUILD +++ b/mtx-svn/PKGBUILD @@ -12,7 +12,7 @@ license=('GPL2') provides=('mtx') conflicts=('mtx') makedepends=('subversion') -source=('mtx-svn::svn+http://svn.code.sf.net/p/mtx/code/trunk') +source=("mtx-svn::svn+http://svn.code.sf.net/p/mtx/code/trunk#revision=${pkgver#r}") md5sums=('SKIP') pkgver() { |