signon-plugin-oauth2: update to 0.24

This commit is contained in:
Jeff Huang 2016-11-25 13:41:49 +00:00
parent c7961a26ea
commit c18da3bc98

View File

@ -2,7 +2,7 @@
pkgname=signon-plugin-oauth2
_pkgname=signon-oauth2
pkgver=0.21
pkgver=0.24
pkgrel=1
pkgdesc='OAuth 2 plugin for signon'
arch=('x86_64')
@ -10,11 +10,11 @@ url="https://gitlab.com/accounts-sso/signon-plugin-oauth2"
license=('LGPL')
depends=('signon')
makedepends=('qt5-xmlpatterns')
source=("http://rsync.chakraos.org/sources/${pkgname}/${_pkgname}-${pkgver}.tar.bz2")
md5sums=('086576e945e2272e138aead6ff533895')
source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/accounts-sso/signon-plugin-oauth2/repository/archive.tar.gz?ref=VERSION_$pkgver")
md5sums=('684564e23cb070c31cef7785ab142ad8')
prepare() {
cd ${_pkgname}-${pkgver}
cd $pkgname-VERSION_$pkgver-*
sed -i '/-Werror/d' common-project-config.pri
@ -24,12 +24,12 @@ prepare() {
}
build() {
cd ${_pkgname}-${pkgver}
cd $pkgname-VERSION_$pkgver-*
qmake-qt5 PREFIX=/usr LIBDIR=/usr/lib
make
}
package() {
cd ${_pkgname}-${pkgver}
cd $pkgname-VERSION_$pkgver-*
make INSTALL_ROOT="$pkgdir" install
}