mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:57:13 +08:00
33 lines
919 B
Bash
33 lines
919 B
Bash
# Contribution from Arch Linux:
|
|
# Maintainer:Antonio Rojas <arojas@archlinux.org>
|
|
|
|
pkgname=purpose
|
|
pkgver=1.1
|
|
pkgrel=1
|
|
pkgdesc="Framework for providing abstractions to get the developer's purposes fulfilled"
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/purpose'
|
|
license=('LGPL')
|
|
depends=('kaccounts-integration' 'accounts-qml-module' 'hicolor-icon-theme')
|
|
makedepends=('extra-cmake-modules' 'intltool' 'python3')
|
|
optdepends=('kdeconnect: sharing to smartphone via KDE Connect')
|
|
source=("http://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz")
|
|
install=$pkgname.install
|
|
md5sums=('9d97612738bb3d7b43ac6dcbcb864a4f')
|
|
|
|
build() {
|
|
mkdir -p build && cd build
|
|
cmake ../$pkgname-$pkgver \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DKDE_INSTALL_LIBEXECDIR=lib \
|
|
-DBUILD_TESTING=OFF
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|