desktop/libalkimia/PKGBUILD
AlmAck b52ea9f304 Fix: the url is not an array, but a string
removed gtk-integration, not packaged anymore
2018-05-15 19:49:44 +02:00

36 lines
908 B
Bash

# Arch contribution https://www.archlinux.org/packages/community/x86_64/libalkimia/
pkgname=libalkimia
pkgver=7.0.1
pkgrel=1
pkgdesc="A library with common classes and functionality used by finance applications for the KDE SC."
arch=('x86_64')
depends=('qt5-base' 'gmp')
makedepends=('cmake' 'doxygen' 'extra-cmake-modules')
url='http://kde-apps.org/content/show.php/libalkimia?content=137323'
license=('LGPL')
replaces=('alkimia')
provides=('alkimia')
source=("http://download.kde.org/stable/alkimia/$pkgver/src/alkimia-$pkgver.tar.xz")
sha256sums=('42c49025b3f8489dcbc5df55101ef95bc920e160b9d5ecf573a88062883931bb')
build() {
cd "${srcdir}"
mkdir -p build
cd build
cmake ../alkimia-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-Wno-dev
make
}
package() {
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}