mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-09 19:47:15 +08:00
34 lines
797 B
Bash
34 lines
797 B
Bash
|
# Contribution from Arch:
|
||
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||
|
|
||
|
pkgname=kproperty
|
||
|
pkgver=3.0.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="A property editing framework with editor widget similar to what is known from Qt Designer"
|
||
|
arch=(i686 x86_64)
|
||
|
url="http://www.kexi-project.org/"
|
||
|
license=(GPL2)
|
||
|
depends=(kwidgetsaddons kguiaddons kcoreaddons kconfig)
|
||
|
makedepends=(extra-cmake-modules python ki18n)
|
||
|
source=("http://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz")
|
||
|
sha1sums=('9eb6b83c0bb5b62d9c219415bc05a5677fbc3ab3')
|
||
|
|
||
|
prepare() {
|
||
|
mkdir -p build
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd build
|
||
|
cmake ../$pkgname-$pkgver \
|
||
|
-DCMAKE_BUILD_TYPE=Release \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||
|
-DBUILD_TESTING=OFF \
|
||
|
-DKDE_INSTALL_LIBDIR=lib
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd build
|
||
|
make DESTDIR="$pkgdir" install
|
||
|
}
|