desktop/kexi/PKGBUILD

36 lines
852 B
Bash
Raw Normal View History

2016-10-07 09:45:37 +08:00
# Contribution from Arch:
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=kexi
2018-03-12 13:02:11 +08:00
pkgver=3.1.0
2016-10-07 09:45:37 +08:00
pkgrel=1
pkgdesc="A visual database applications creator"
arch=(x86_64)
url="http://www.kexi-project.org/"
license=(GPL2)
2018-03-12 13:02:11 +08:00
depends=(kdb kreport ktexteditor marble breeze-icons qt5-webkit)
makedepends=(extra-cmake-modules python3 qt5-tools kdoctools libmariadbclient postgresql doxygen)
2016-10-07 09:45:37 +08:00
conflicts=(calligra-kexi)
replaces=(calligra-kexi)
2018-03-12 13:02:11 +08:00
source=("https://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz")
sha1sums=('9bd27ba878de51d6f7b6f9e7973b4e69ab03c546')
2016-10-07 09:45:37 +08:00
prepare() {
mkdir -p build
}
build() {
cd build
2017-08-12 08:12:33 +08:00
cmake ../$pkgname-${pkgver} \
2016-10-07 09:45:37 +08:00
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
2018-03-12 13:02:11 +08:00
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
2016-10-07 09:45:37 +08:00
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}