mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 12:34:40 +08:00
35 lines
927 B
Bash
35 lines
927 B
Bash
# Contribution from Arch Linux:
|
|
# Maintainer:Antonio Rojas <arojas@archlinux.org>
|
|
|
|
pkgname=purpose
|
|
pkgver=1.0
|
|
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' 'hicolor-icon-theme')
|
|
makedepends=('extra-cmake-modules' 'intltool')
|
|
source=("http://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz")
|
|
install=$pkgname.install
|
|
md5sums=('8f27161d5bc0193ad67db48cb6782d84')
|
|
|
|
build() {
|
|
mkdir -p build && cd build
|
|
cmake ../$pkgname-$pkgver \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DLIB_INSTALL_DIR=lib \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
|
|
-DBUILD_TESTING=OFF
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
# remove icons provided by kdevplatform
|
|
rm "$pkgdir"/usr/share/icons/hicolor/*/apps/reviewboard.png
|
|
}
|