summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPopolon2021-03-17 15:11:06 +0100
committerPopolon2021-03-17 15:11:06 +0100
commit32f5967831fdc43cb6b48bd9ef57b675febcc421 (patch)
treeea31516d0dcf7395e8384a304f41d73e11ed2384 /PKGBUILD
downloadaur-mathmod.tar.gz
Fist commit of this MathMod
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dc4281136d4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Popolon <popolon@popolon.org>
+
+pkgname=mathmod
+pkgver=11.0
+pkgrel=1
+pkgdesc="modelisation and manipulation of mathematics objects"
+arch=('x86_64' 'armv7h' 'armv8')
+url="https://github.com/parisolab/mathmod/"
+license=('GPLv2')
+depends=('qt5-base')
+source=(https://github.com/parisolab/${pkgname}/archive/${pkgver}.tar.gz
+ MathMod.desktop)
+sha256sums=('418e5a40dc0e9e7e41027d9d9f0fe7dc2a27a2df1711891451e7af4a04140dbe'
+ '6c001dae8ae8c1f6a4aaef7bf2d098a058c1e944dbf01642ea9792926b7204e9')
+
+prepare() {
+ cd $pkgname-$pkgver
+ qmake
+}
+build() {
+ cd $pkgname-$pkgver
+ make
+}
+
+package() {
+
+ cd $pkgname-$pkgver
+ make install DESTDIR="$pkgdir" PREFIX=/usr
+ install -Dm 755 "MathMod" "${pkgdir}/usr/bin/MathMod"
+ install -Dm 644 "images/icone32x32.png" "${pkgdir}/usr/share/icons/MathMod.png"
+ install -Dm 644 "Licence.txt" "${pkgdir}/usr/share/licenses/${pkgname}/Licence.txt"
+ cd -
+ install -Dm 644 "MathMod.desktop" "${pkgdir}/usr/share/applications/MathMod.desktop"
+
+}