mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 12:47:16 +08:00
32 lines
632 B
Bash
32 lines
632 B
Bash
pkgname=qoauth
|
|
pkgver=2.0.0
|
|
pkgrel=1
|
|
pkgdesc="Support with OAuth-powered network services"
|
|
url="http://github.com/ayoy/qoauth"
|
|
license=('GPL')
|
|
arch=('x86_64')
|
|
depends=('qca-qt5')
|
|
provides=('qoauth-qt5')
|
|
conflicts=('qoauth-qt5')
|
|
replaces=('qoauth-qt5')
|
|
source=($pkgname-$pkgver::"https://github.com/ayoy/qoauth/archive/v$pkgver.tar.gz")
|
|
md5sums=('a30ab54144bcdb5b5adaf4d45b59a7d4')
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
# Move libraries from /usr/lib64 to /usr/lib
|
|
sed -i 's|lib64|lib|' src/src.pro
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
qmake-qt5
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make INSTALL_ROOT=$pkgdir install
|
|
|
|
}
|