2016-10-06 15:31:55 +08:00
|
|
|
# Contribution from Arch:
|
|
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
|
|
|
|
|
|
pkgname=kproperty
|
2017-03-11 21:00:31 +08:00
|
|
|
pkgver=3.0.1
|
2016-10-06 15:31:55 +08:00
|
|
|
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)
|
2017-03-11 21:00:31 +08:00
|
|
|
makedepends=(extra-cmake-modules python3 ki18n)
|
2016-10-06 15:31:55 +08:00
|
|
|
source=("http://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz")
|
2017-03-11 21:00:31 +08:00
|
|
|
sha1sums=('1a707aa036764514e35c2c435b7dbb44ba29147a')
|
2016-10-06 15:31:55 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|