summaryrefslogtreecommitdiff
path: root/user/mate-calc/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-03-25 04:35:41 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-03-25 04:35:41 +0000
commit2aac7c91d6a22da9af6ac791200ecae2fd64fd4e (patch)
tree767814e8ae339c1379444d061eb47c81a590e112 /user/mate-calc/APKBUILD
parent13fa4c900a5d7825c4802b12cecdf6e22e9dfac8 (diff)
parentdc9e13229a7c2d216ec98a16075601b9540f7e53 (diff)
downloadpackages-2aac7c91d6a22da9af6ac791200ecae2fd64fd4e.tar.gz
packages-2aac7c91d6a22da9af6ac791200ecae2fd64fd4e.tar.bz2
packages-2aac7c91d6a22da9af6ac791200ecae2fd64fd4e.tar.xz
packages-2aac7c91d6a22da9af6ac791200ecae2fd64fd4e.zip
Merge branch 'desktops.mate' into 'master'
Package the MATE desktop environment See merge request !207
Diffstat (limited to 'user/mate-calc/APKBUILD')
-rw-r--r--user/mate-calc/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/mate-calc/APKBUILD b/user/mate-calc/APKBUILD
new file mode 100644
index 000000000..f55f691fc
--- /dev/null
+++ b/user/mate-calc/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=mate-calc
+pkgver=1.22.0
+pkgrel=0
+pkgdesc="Calculator utility for the MATE desktop environment"
+url="https://mate-desktop.org"
+arch="all"
+license="GPL-2.0+ AND GPL-2.0-only"
+depends=""
+makedepends="gtk+3.0-dev intltool itstool libxml2-utils libxml2-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-calc-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="a0d72a17dc9e7e97ef36cb2f089db126b1f91790d6a34ae829ef9cea87e82b025ba106f08e8c677352e72423a6670a3bf8751eecc67444cd8cea8dc8f3cf6728 mate-calc-1.22.0.tar.xz"