diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-09-22 15:28:29 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-09-25 07:11:22 +0000 |
commit | 3c03852ca2daaacb3883a771e2b3e1287c3fbd14 (patch) | |
tree | 9a6c94804f7e2082bae186260d0203f096516526 /community/mate-calc | |
parent | 06297f290835d483cea25e96acbac8f2748509e9 (diff) | |
download | aports-3c03852ca2daaacb3883a771e2b3e1287c3fbd14.tar.bz2 aports-3c03852ca2daaacb3883a771e2b3e1287c3fbd14.tar.xz |
community/mate-calc: new aport
Diffstat (limited to 'community/mate-calc')
-rw-r--r-- | community/mate-calc/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/mate-calc/APKBUILD b/community/mate-calc/APKBUILD new file mode 100644 index 0000000000..eda353c97d --- /dev/null +++ b/community/mate-calc/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=mate-calc +pkgver=1.18.0 +pkgrel=0 +pkgdesc="Calculator for MATE" +url="https://github.com/mate-desktop/mate-calc" +arch="all" +license="GPL2" +depends="mate-common" +makedepends="itstool libtool intltool gtk+3.0-dev + libxml2-utils libxml2-dev" +subpackages="$pkgname-lang $pkgname-doc" +source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --sysconfdir=/etc \ + --prefix=/usr + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="${pkgdir}" install +} + +sha512sums="b34e8ba52599a56bf0286dd6c3d0cd460ea80732baaf48217d7abbca6166eaf16eb6bd9aba6fab6fbbf0c51937275f703568e114adb899b6e927a70f42f0949b mate-calc-1.18.0.tar.xz" |