desktop/libaccounts-qt/PKGBUILD

33 lines
849 B
Bash
Raw Normal View History

2015-04-08 01:19:58 +08:00
# Contributors from Arch: https://www.archlinux.org/packages/extra/x86_64/libaccounts-qt4/
pkgname='libaccounts-qt'
2016-03-29 03:54:44 +08:00
pkgver=1.14
_commit=a34ca4b
2015-04-08 01:19:58 +08:00
pkgrel=1
pkgdesc="Qt5-based client library for accessing the online accounts database"
2015-04-08 01:19:58 +08:00
arch=('x86_64')
url="http://code.google.com/p/accounts-sso/"
license=('LGPL')
depends=('qt5-base' 'libaccounts-glib')
makedepends=('doxygen')
replaces=('libaccounts-qt5')
2015-04-08 01:19:58 +08:00
options=('!docs' '!emptydirs')
source=("https://gitlab.com/accounts-sso/libaccounts-qt/repository/archive.tar.bz2?ref=$_commit")
sha1sums=('4cc4dd77888bbc31cb22e97523bfd749a4d01b78')
2015-04-08 01:19:58 +08:00
prepare() {
cd $pkgname-*
2015-04-08 01:19:58 +08:00
sed -i 's|SUBDIRS += Accounts tests|SUBDIRS += Accounts|' accounts-qt.pro
}
build() {
cd ${srcdir}/$pkgname-*
2015-04-08 01:19:58 +08:00
qmake-qt5 PREFIX=/usr LIBDIR=/usr/lib
make
}
package() {
cd $pkgbase-*
2015-04-08 01:19:58 +08:00
make INSTALL_ROOT="$pkgdir" install
}