[arch-commits] Commit in libaccounts-qt/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri Nov 2 15:42:17 UTC 2018
Date: Friday, November 2, 2018 @ 15:42:16
Author: arojas
Revision: 337735
archrelease: copy trunk to staging-x86_64
Added:
libaccounts-qt/repos/staging-x86_64/
libaccounts-qt/repos/staging-x86_64/PKGBUILD
(from rev 337734, libaccounts-qt/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: libaccounts-qt/repos/staging-x86_64/PKGBUILD (from rev 337734, libaccounts-qt/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-11-02 15:42:16 UTC (rev 337735)
@@ -0,0 +1,40 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at 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.15
+pkgrel=2
+arch=(x86_64)
+url="https://gitlab.com/accounts-sso/libaccounts-qt"
+license=(LGPL)
+depends=(libaccounts-glib qt5-base)
+makedepends=(doxygen)
+conflicts=(libaccounts-qt5)
+provides=(libaccounts-qt5)
+replaces=(libaccounts-qt5)
+source=("https://gitlab.com/accounts-sso/libaccounts-qt/repository/archive.tar.bz2?ref=VERSION_$pkgver")
+sha256sums=('f25745b59908131ceef6de796227673523d2001b4658a80e32606efb75173bbb')
+
+prepare() {
+ mv $pkgname-VERSION_$pkgver-* $pkgname-$pkgver
+
+ cd $pkgname-$pkgver
+ sed -i 's|SUBDIRS += Accounts tests|SUBDIRS += Accounts|' accounts-qt.pro
+ cd ..
+}
+
+build() {
+ cd $pkgname-$pkgver
+ qmake PREFIX=/usr LIBDIR=/usr/lib
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make INSTALL_ROOT="$pkgdir" install
+
+# Remove docs
+ rm -r "$pkgdir"/usr/share
+}
More information about the arch-commits
mailing list