diff options
author | Dāvis Mosāns | 2023-03-05 01:49:28 +0000 |
---|---|---|
committer | Dāvis Mosāns | 2023-03-05 01:49:28 +0000 |
commit | d9b52ffade20bb8b2f5a1ed565577070a799d6af (patch) | |
tree | 7e683edaa129250daeea3575e2c9e2fcbdb2f3c0 /PKGBUILD | |
download | aur-libaccounts-qt-git.tar.gz |
First release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e4a6379f4f0f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ + +pkgname=libaccounts-qt-git +pkgdesc='Qt-based client library for accessing the online accounts database' +pkgver=1.16 +pkgrel=3 +arch=(x86_64) +url='https://gitlab.com/accounts-sso/libaccounts-qt' +license=(LGPL) +depends=(libaccounts-glib qt6-base) +makedepends=(doxygen) +conflicts=(libaccounts-qt) +provides=(libaccounts-qt) +replaces=(libaccounts-qt) +source=(git+https://gitlab.com/accounts-sso/libaccounts-qt.git) +sha256sums=('SKIP') + +prepare() { + cd "${pkgname%-git}" + sed -i 's|SUBDIRS += Accounts tests|SUBDIRS += Accounts|' accounts-qt.pro +} + +build() { + cd "${pkgname%-git}" + qmake PREFIX=/usr LIBDIR=/usr/lib + make +} + +package() { + cd "${pkgname%-git}" + make INSTALL_ROOT="$pkgdir" install + +# Remove docs + rm -r "$pkgdir"/usr/share +} |