diff options
author | Electro707 | 2021-05-12 23:38:45 -0400 |
---|---|---|
committer | Electro707 | 2021-05-12 23:38:45 -0400 |
commit | f8e594272106c7f91fb2ba4bd6e591531db3be35 (patch) | |
tree | 3e743b7efc05ba33490d1b4a2251e4ebc4c858a8 | |
download | aur-f8e594272106c7f91fb2ba4bd6e591531db3be35.tar.gz |
Initial commit of cantor-git's AUR package3
-rw-r--r-- | .SRCINFO | 41 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 81 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0025b7033f99 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,41 @@ +pkgbase = cantor-git + pkgdesc = KDE Frontend to Mathematical Software + pkgver = v21.03.90.r14.g85e59eb3 + pkgrel = 1 + url = https://apps.kde.org/cantor/ + arch = x86_64 + groups = kde-applications + groups = kde-education + license = GPL + license = LGPL + license = FDL + makedepends = git + makedepends = extra-cmake-modules + makedepends = python + makedepends = kdoctools + makedepends = luajit + makedepends = r + makedepends = julia + depends = analitza + depends = libspectre + depends = kpty + depends = ktexteditor + depends = knewstuff + depends = libqalculate + depends = hicolor-icon-theme + depends = qt5-xmlpatterns + depends = poppler-qt5 + optdepends = maxima: Maxima backend + optdepends = octave: Octave backend + optdepends = r: R backend + optdepends = luajit: LUA backend + optdepends = python: Python backend + optdepends = sagemath: SageMath backend + optdepends = julia: Julia backend + provides = cantor + conflicts = cantor + source = cantor-git::git+https://invent.kde.org/education/cantor.git + sha256sums = SKIP + +pkgname = cantor-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d43d409f4c0a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Electro707 <develop@electro707.com> + +pkgname=cantor-git +pkgver=v21.03.90.r14.g85e59eb3 +pkgrel=1 +pkgdesc='KDE Frontend to Mathematical Software' +url='https://apps.kde.org/cantor/' +arch=(x86_64) +license=(GPL LGPL FDL) +groups=(kde-applications kde-education) +depends=(analitza libspectre kpty ktexteditor knewstuff libqalculate hicolor-icon-theme qt5-xmlpatterns poppler-qt5) +makedepends=(git extra-cmake-modules python kdoctools luajit r julia) +conflicts=('cantor') +provides=('cantor') +optdepends=('maxima: Maxima backend' + 'octave: Octave backend' + 'r: R backend' + 'luajit: LUA backend' + 'python: Python backend' + 'sagemath: SageMath backend' + 'julia: Julia backend') +source=("${pkgname}"'::git+https://invent.kde.org/education/cantor.git') +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "${srcdir}/${pkgname}" + cmake -B build -S . \ + -DBUILD_TESTING=OFF + cmake --build build +} + +package() { + cd "${srcdir}/${pkgname}" + DESTDIR="$pkgdir" cmake --install build +} |