desktop/kdeedu-kalgebra/PKGBUILD

48 lines
1.3 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
2011-07-23 02:02:15 +08:00
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kdeedu-kalgebra
_pkgname=kalgebra
pkgver=${_kdever}
2014-02-01 19:24:18 +08:00
pkgrel=1
pkgdesc="Graph calculator"
2011-07-23 02:02:15 +08:00
url="http://kde.org/applications/education/kalgebra/"
arch=('x86_64')
2011-07-23 02:02:15 +08:00
url='http://www.kde.org'
license=('GPL'
'LGPL'
'FDL')
depends=("kde-runtime"
"kdeedu-libkdeedu>=${_kdever}"
"kdeedu-analitza>=${_kdever}")
makedepends=('cmake'
'automoc4'
'docbook-xsl')
2011-07-23 02:02:15 +08:00
provides=('kalgebra')
groups=("kde"
"kdeedu"
"kde-uninstall")
2012-03-06 07:57:58 +08:00
categories=('education')
options=('docs'
'!header'
'debug'
'log')
2011-07-23 02:02:15 +08:00
install=${pkgname}.install
2012-03-30 09:11:15 +08:00
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
2014-01-11 20:59:04 +08:00
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
2011-07-23 02:02:15 +08:00
build() {
cd ${srcdir}/${_pkgname}-${pkgver}
cmake . \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make
2011-07-23 02:02:15 +08:00
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
2011-07-23 02:02:15 +08:00
}