diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-10 10:10:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-10 10:10:56 +0000 |
commit | 1dc7921a7dbe571267031bcb2ff6cad137741bae (patch) | |
tree | d009a8b7d43fc45751b949e7046d51debd0b7147 /community/eom/APKBUILD | |
parent | 1ac04949c437204401eecfb61d9fd3ee410e9c06 (diff) | |
download | aports-1dc7921a7dbe571267031bcb2ff6cad137741bae.tar.bz2 aports-1dc7921a7dbe571267031bcb2ff6cad137741bae.tar.xz |
community/eom: move from main
Diffstat (limited to 'community/eom/APKBUILD')
-rw-r--r-- | community/eom/APKBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/community/eom/APKBUILD b/community/eom/APKBUILD new file mode 100644 index 0000000000..82f8852696 --- /dev/null +++ b/community/eom/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: Alan Lacerda <alacerda@alpinelinux.org> +# Maintainer: Alan Lacerda <alacerda@alpinelinux.org> +pkgname=eom +pkgver=1.10.5 +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 \ + --prefix=/usr || return 1 + + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="${pkgdir}" install || return 1 +} + +md5sums="362b5a94e363e3ef45fdb34c0335f18d eom-1.10.5.tar.xz" +sha256sums="19b484dba1c2adf1450153815e4edb05ba7ab7bdf4eb8b4f2071766e48e72d14 eom-1.10.5.tar.xz" +sha512sums="f58f2c4c1d211afe66c2a112b75ee6b325590294da51df3a56d1dca0fb813cea1abd9e9dc7a4a3f26c111f1c11aba20e8177e36913f04bae664f4ddad6f98c0c eom-1.10.5.tar.xz" |