desktop/kalgebra/PKGBUILD

39 lines
1.0 KiB
Bash
Raw Normal View History

2015-02-23 23:08:49 +08:00
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kalgebra
2015-04-29 22:13:12 +08:00
source ../kdeapps.conf
2015-02-23 23:08:49 +08:00
pkgname=kalgebra
pkgver=${_kdever}
pkgrel=1
pkgdesc="Graph calculator"
url="http://kde.org/applications/education/kalgebra/"
2015-04-29 22:13:12 +08:00
screenshot="https://www.kde.org/images/screenshots/kalgebra.png"
2015-02-23 23:08:49 +08:00
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
2018-02-09 03:08:22 +08:00
depends=('analitza' 'kio' 'qt5-webkit' 'hicolor-icon-theme' 'qt5-webengine' 'lcms2')
2015-02-23 23:08:49 +08:00
makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'glu')
provides=('kdeedu-kalgebra')
replaces=('kdeedu-kalgebra')
conflicts=('kdeedu-kalgebra')
groups=("kde" "kdeedu" "kde-uninstall")
categories=('education')
install=${pkgname}.install
source=("$_mirror/${pkgname}-$_kdever.tar.xz"{,.sig})
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
'SKIP')
2017-08-11 00:14:23 +08:00
validpgpkeys=(${Avalidpgpkeys[@]})
2015-02-23 23:08:49 +08:00
prepare() {
2015-04-29 22:13:12 +08:00
mkdir -p build
2015-02-23 23:08:49 +08:00
}
build() {
cd build
2015-04-29 22:13:12 +08:00
cmake_kf5 ../${pkgname}-${pkgver}
2015-02-23 23:08:49 +08:00
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}