aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-calculator/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-05-06 15:39:51 +0200
committerTBK <tbk@jjtc.eu>2019-05-22 15:52:04 +0200
commit2a319ee5c4497bd9c10ff74b608f967c731e690c (patch)
tree0d0e8de78927fd76ad83ecd48bed644a7d73f3e7 /testing/gnome-calculator/APKBUILD
parent2643c5330e40e81a96ece872828cf93d4ac8e0a7 (diff)
downloadaports-2a319ee5c4497bd9c10ff74b608f967c731e690c.tar.gz
aports-2a319ee5c4497bd9c10ff74b608f967c731e690c.tar.bz2
aports-2a319ee5c4497bd9c10ff74b608f967c731e690c.tar.xz
testing/gnome-calculator: new aport
Closes: GH-7611
Diffstat (limited to 'testing/gnome-calculator/APKBUILD')
-rw-r--r--testing/gnome-calculator/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/gnome-calculator/APKBUILD b/testing/gnome-calculator/APKBUILD
new file mode 100644
index 0000000000..f5cb02e62b
--- /dev/null
+++ b/testing/gnome-calculator/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=gnome-calculator
+pkgver=3.32.1
+pkgrel=0
+pkgdesc="Calculator for solving mathematical equations"
+url="https://wiki.gnome.org/Apps/Calculator"
+arch="all"
+license="GPL-3.0-or-later"
+makedepends="vala gtksourceview4-dev glib-dev gtk+3.0-dev libsoup-dev
+ libxml2-dev meson mpc1-dev mpfr-dev itstool"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://download.gnome.org/sources/gnome-calculator/${pkgver%.*}/gnome-calculator-$pkgver.tar.xz"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libdir=/usr/lib \
+ --buildtype=release \
+ . output
+ ninja -C output
+}
+
+check() {
+ ninja -C output test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="c428287fd7eb9a0e5d85a3e7c50e686e1ddeb75ecf6e548afbf4a8e129d275a9b884909efbe92578fb7729de523808d3f5bdca771e4799327d876626accdc445 gnome-calculator-3.32.1.tar.xz"