43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
# Contributor: Balló György <ballogyor+arch at gmail dot com>
|
|
|
|
pkgname=libaccounts-qt
|
|
pkgdesc='Qt-based client library for accessing the online accounts database'
|
|
pkgver=1.16
|
|
pkgrel=4
|
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
|
url='https://gitlab.com/accounts-sso/libaccounts-qt'
|
|
license=(LGPL)
|
|
depends=(gcc-libs
|
|
glib2
|
|
glibc
|
|
libaccounts-glib
|
|
qt6-base)
|
|
makedepends=(doxygen
|
|
git)
|
|
# source=(https://gitlab.com/accounts-sso/libaccounts-qt/-/archive/VERSION_$pkgver/libaccounts-qt-VERSION_$pkgver.tar.gz)
|
|
_commit=18557f7def9af8f4a9e0e93e9f575ae11e5066aa
|
|
source=(git+https://gitlab.com/nicolasfella/libaccounts-qt#commit=$_commit)
|
|
sha256sums=('SKIP')
|
|
|
|
prepare() {
|
|
cd $pkgname
|
|
sed -i 's|SUBDIRS += Accounts tests|SUBDIRS += Accounts|' accounts-qt.pro
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname
|
|
qmake6 PREFIX=/usr LIBDIR=/usr/lib
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
|
|
# Remove docs
|
|
rm -r "$pkgdir"/usr/share
|
|
}
|