diff options
author | pingplug | 2015-08-19 17:47:29 +0800 |
---|---|---|
committer | pingplug | 2015-08-19 17:47:29 +0800 |
commit | 1ffb9ce969d44cc1f6f7885ebfe5265abeba7d57 (patch) | |
tree | 3de2ce40276bff98dfc0983a64edbce186ba519e | |
parent | e1d1684443ef200bcb25454627e48c575a2d6eb4 (diff) | |
download | aur-1ffb9ce969d44cc1f6f7885ebfe5265abeba7d57.tar.gz |
Update to 1.1-22
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 20 insertions, 29 deletions
@@ -1,6 +1,6 @@ pkgbase = vqmt-git pkgdesc = Video Quality Measurement Tool which can compute PSNR, SSIM, MS-SSIM, VIFp, PSNR-HVS and PSNR-HVS-M metrics - pkgver = 20130910 + pkgver = v1.1.22.g4e32135 pkgrel = 1 url = http://mmspg.epfl.ch/vqmt arch = x86_64 @@ -9,7 +9,8 @@ pkgbase = vqmt-git makedepends = git makedepends = cmake depends = opencv - conflicts = vqmt + source = git+https://github.com/Rolinh/VQMT.git + md5sums = SKIP pkgname = vqmt-git @@ -1,8 +1,10 @@ +# Maintainer: pingplug <pingplug@foxmail.com> # Submitter: Rolinh <robinDOThahlingATgw-computingDOTnet> -# Maintainer: Rolinh <robinDOThahlingATgw-computingDOTnet> +# Contributor: Rolinh <robinDOThahlingATgw-computingDOTnet> + pkgname=vqmt-git -_pkgname=vqmt -pkgver=20130910 +_pkgname=VQMT +pkgver=v1.1.22.g4e32135 pkgrel=1 pkgdesc="Video Quality Measurement Tool which can compute PSNR, SSIM, MS-SSIM, VIFp, PSNR-HVS and PSNR-HVS-M metrics" arch=('x86_64' 'i686') @@ -10,39 +12,27 @@ url="http://mmspg.epfl.ch/vqmt" license=('custom') depends=('opencv') makedepends=('git' 'cmake') -conflicts=('vqmt') -source=() - -_gitroot="https://github.com/Rolinh/VQMT.git" -_gitname="$_pkgname" - -build() { - cd "$srcdir" - msg "Connecting to GIT server...." +source=("git+https://github.com/Rolinh/VQMT.git") +md5sums=('SKIP') - if [[ -d "$_gitname" ]]; then - cd "$_gitname" && git pull origin - msg "The local files are updated." - else - git clone "$_gitroot" "$_gitname" - fi +pkgver() { + cd "${srcdir}/${_pkgname}" - msg "GIT checkout done or server timeout" - msg "Starting build..." + git describe --tags | sed 's|-|.|g' +} - rm -rf "$srcdir/$_gitname-build" - git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" - cd "$srcdir/$_gitname-build" +build() { + cd "$srcdir/$_pkgname" - cmake ./ '-DPREFIX=/usr' '-DCMAKE_BUILD_TYPE=RELEASE' + cmake ./ -DPREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE make } package() { - cd "$srcdir/$_gitname-build" - make DESTDIR="$pkgdir/" install + cd "${srcdir}/${_pkgname}" + make DESTDIR="${pkgdir}" install - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/"${_pkgname}"/LICENSE" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" } # vim:set ts=2 sw=2 et: |