desktop/libalkimia/PKGBUILD

36 lines
908 B
Bash
Raw Normal View History

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