aboutsummaryrefslogblamecommitdiffstats
path: root/community/eom/APKBUILD
blob: 5cbe7e26e8aef60d22b34c62dc9ca4510513751d (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                      
             




                                               
                                       

                                                                       
                                                                         

                                                     
                                                                                  


















                                                                        

                                           







                                                    

 


                                                                                                                                                                
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=eom
pkgver=1.14.1
pkgrel=0
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+2.0-dev itstool mate-desktop-dev
	libexif-dev lcms2-dev dconf-dev dbus-dev librsvg-dev libxslt-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure \
                --build=$CBUILD \
                --host=$CHOST \
                --sysconfdir=/etc \
		--with-gtk=2.0 \
		--enable-introspection=no \
		--disable-schemas-compile \
                --prefix=/usr || return 1

        make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="${pkgdir}" install || return 1
}

md5sums="2f812879081f1392e97dade169daa5ad  eom-1.14.1.tar.xz"
sha256sums="8c79ff62c73603175f51c34255edbc4c4e28d03a77a0fd17a308c1ae985a7c3f  eom-1.14.1.tar.xz"
sha512sums="9d7e828eb24aa849e404c058b651e3f4f5bc6688990212a7082657c6421dc3b88d1da4590a4bd12a5bb76a2f7391d8ba9af24e7684fce6cb0ccb9848dd685f53  eom-1.14.1.tar.xz"