aboutsummaryrefslogtreecommitdiffstats
path: root/community/eom
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-22 13:05:06 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-25 07:11:21 +0000
commit5f783ebb4bca0a2b276b4b3584e20ca08d414c0e (patch)
treeb05731b7a7d90323ae893ef95e722965f2a0af1c /community/eom
parentda99fad5f0762872de5f29b76b3f4fe06f230fbc (diff)
downloadaports-5f783ebb4bca0a2b276b4b3584e20ca08d414c0e.tar.bz2
aports-5f783ebb4bca0a2b276b4b3584e20ca08d414c0e.tar.xz
community/eom: modernized APKBUILD, added check
Diffstat (limited to 'community/eom')
-rw-r--r--community/eom/APKBUILD25
1 files changed, 14 insertions, 11 deletions
diff --git a/community/eom/APKBUILD b/community/eom/APKBUILD
index 78b24cbedc..a06ca2d2c5 100644
--- a/community/eom/APKBUILD
+++ b/community/eom/APKBUILD
@@ -2,31 +2,34 @@
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=eom
pkgver=1.19.0
-pkgrel=0
+pkgrel=1
pkgdesc="A simple graphics viewer for the MATE"
url="https://github.com/mate-desktop/eom"
arch="all"
license="GPLv2"
depends="mate-icon-theme libxml2-utils"
-depends_dev=""
-makedepends="$depends_dev glib-dev gtk+3.0-dev itstool mate-desktop-dev
- libexif-dev lcms2-dev dconf-dev dbus-dev librsvg-dev libxslt-dev libpeas-dev"
+makedepends="glib-dev gtk+3.0-dev itstool mate-desktop-dev
+ libexif-dev lcms2-dev dconf-dev dbus-dev librsvg-dev
+ libxslt-dev libpeas-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
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 \
- --with-gtk=2.0 \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --sysconfdir=/etc \
--enable-introspection=no \
--disable-schemas-compile \
- --prefix=/usr
+ --prefix=/usr
+ make
+}
- make
+check() {
+ cd "$builddir"
+ make check
}
package() {