diff options
Diffstat (limited to 'user/mate-calc/APKBUILD')
-rw-r--r-- | user/mate-calc/APKBUILD | 37 |
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..a8f505202 --- /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.1 +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="8e8efa1c17f6b6330471d877bc4d9c8486c64fb22ac3e3caf13a47f8be030664f1ca635a2323a78c5345a838fda307c3b4913caa748a67cc45fe43b9c8070e9a mate-calc-1.22.1.tar.xz" |