Commit c68d182c authored by totte's avatar totte

attica and kxmlgui: Adjust to rename, tidy up

parent 05b6015c
Pipeline #4564 passed with stages
in 12 minutes and 34 seconds
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Maintainer: totte <totte@chakralinux.org>
# Contributors: Andrea Scarpino <andrea@archlinux.org>
# Antonio Rojas <arojas@archlinux.org>
# Felix Yan <felixonmars@archlinux.org>
pkgname=attica-qt5
_pkgname=attica
pkgname=attica
pkgver=5.63.0
pkgrel=2
pkgrel=3
pkgdesc='Qt library that implements the Open Collaboration Services API'
arch=('x86_64')
url='https://projects.kde.org/projects/kdesupport/${_pkgname}'
pkgdesc='A Qt5 library that implements the Open Collaboration Services API'
url='https://projects.kde.org/projects/kdesupport/attica'
license=('LGPL')
depends=("qt5-base")
makedepends=("extra-cmake-modules>=5.63.0")
checkdepends=("cmake")
depends=('qt5-base')
makedepends=('extra-cmake-modules' 'doxygen' 'qt5-tools' 'qt5-doc')
groups=('kf5')
options=("debug")
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${_pkgname}-${pkgver}.tar.xz"{,.sig})
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha256sums=('c064af18478386da6a8eee16a9af626e300a4f0d1755b1598c910e2628977a37'
'SKIP')
validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
......@@ -23,7 +25,7 @@ prepare() {
build() {
cd build
cmake ../${_pkgname}-${pkgver} \
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
......@@ -31,15 +33,9 @@ build() {
-DKDE_INSTALL_LIBEXECDIR=lib \
-DBUILD_TESTING=OFF \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make
}
# check() {
# cd build
# make test
# }
package() {
cd build
make DESTDIR="${pkgdir}" install
......
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kxmlgui
# Maintainer: totte <totte@chakralinux.org>
# Contributors: Andrea Scarpino <andrea@archlinux.org>
# Antonio Rojas <arojas@archlinux.org>
# Felix Yan <felixonmars@archlinux.org>
pkgname=kxmlgui
pkgver=5.63.0
pkgrel=2
pkgrel=3
pkgdesc='User configurable main windows'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kxmlgui'
license=('LGPL')
depends=('kglobalaccel' 'ktextwidgets' 'attica-qt5')
makedepends=("extra-cmake-modules" 'python3' qt5-tools qt5-doc)
checkdepends=('xorg-server-xvfb')
depends=('kglobalaccel' 'ktextwidgets' 'attica')
makedepends=('extra-cmake-modules' 'doxygen' 'qt5-tools' 'qt5-doc' 'python3')
groups=('kf5')
options=("debug")
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
......@@ -24,13 +26,13 @@ prepare() {
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_SYSCONFDIR=/etc \
-DKDE_INSTALL_LIBEXECDIR=lib \
-DBUILD_TESTING=OFF \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_SYSCONFDIR=/etc \
-DKDE_INSTALL_LIBEXECDIR=lib \
-DBUILD_TESTING=OFF \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@" \
-DPYTHON_EXECUTABLE=/usr/bin/python3
make
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment