lz4: Project moved from googlecode to github. Upgrade to latest.
This commit is contained in:
@@ -2,17 +2,17 @@
|
||||
|
||||
_realname=lz4
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=1.5.0.r127
|
||||
pkgver=1.6.0.r452
|
||||
pkgrel=1
|
||||
pkgdesc="Very fast lossless compression algorithm (mingw-w64)"
|
||||
arch=('any')
|
||||
url="https://code.google.com/p/lz4/"
|
||||
url="http://www.lz4.info/"
|
||||
license=("GPL2")
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc" "subversion")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc" "git")
|
||||
checkdepends=('diffutils')
|
||||
options=('staticlibs' 'strip')
|
||||
source=("${_realname}::svn+http://lz4.googlecode.com/svn/trunk/#revision=$pkgver"
|
||||
source=("${_realname}::git+https://github.com/Cyan4973/lz4.git"
|
||||
001-mingw-install-over-msys.patch)
|
||||
md5sums=('SKIP'
|
||||
'99b3643a9fee86ee89e991a682edb3c5')
|
||||
@@ -22,7 +22,7 @@ pkgver() {
|
||||
local _MAJOR=`sed -n '/define LZ4_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < lib/lz4.h`
|
||||
local _MINOR=`sed -n '/define LZ4_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < lib/lz4.h`
|
||||
local _PATCH=`sed -n '/define LZ4_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < lib/lz4.h`
|
||||
local _REV="$(svnversion)"
|
||||
local _REV="$(git rev-list --count HEAD)"
|
||||
printf "%s.%s.%s.r%s" "${_MAJOR}" "${_MINOR}" "${_PATCH}" "${_REV//[[:alpha:]]}"
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user