summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-08 17:41:30 -0800
committerSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-08 17:41:30 -0800
commit7ab9f0ecbdf87213cab1053db13bdddf69ba3325 (patch)
treedd0ae5cb4b829c34dfa0a39145e916f6ad9a1391 /user
parentacff8397b07d0fa0a76ac29e74f491b032628166 (diff)
downloadpackages-7ab9f0ecbdf87213cab1053db13bdddf69ba3325.tar.gz
packages-7ab9f0ecbdf87213cab1053db13bdddf69ba3325.tar.bz2
packages-7ab9f0ecbdf87213cab1053db13bdddf69ba3325.tar.xz
packages-7ab9f0ecbdf87213cab1053db13bdddf69ba3325.zip
user/pantheon-calculator: new package
Diffstat (limited to 'user')
-rw-r--r--user/pantheon-calculator/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/pantheon-calculator/APKBUILD b/user/pantheon-calculator/APKBUILD
new file mode 100644
index 000000000..7da374809
--- /dev/null
+++ b/user/pantheon-calculator/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=pantheon-calculator
+pkgver=2.0.2
+pkgrel=0
+pkgdesc="Calculator for the Pantheon desktop environment"
+url="https://elementary.io"
+arch="all"
+license="GPL-3.0+"
+depends=""
+makedepends="meson ninja glib-dev gobject-introspection-dev granite7-dev vala-dev"
+subpackages="$pkgname-lang"
+source="pantheon-calculator-$pkgver.tar.gz::https://github.com/elementary/calculator/archive/refs/tags/$pkgver.tar.gz"
+builddir="$srcdir/calculator-$pkgver"
+
+build() {
+ meson setup \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ --wrap-mode=nofallback \
+ . output
+ meson compile -C output
+}
+
+check() {
+ meson test -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C output
+}
+
+sha512sums="8713c88ae77c96894552ed35d4bf2c44dee869ec900188435dee552421b27579038e0e5c6c31914304b2388004e34e1d484ff0ee16656cfe99af8e7eb8c43a62 pantheon-calculator-2.0.2.tar.gz"