summaryrefslogblamecommitdiff
path: root/user/eom/APKBUILD
blob: 2cef9aebffd170ac90da96fec0a684440a871b4c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13

                                                         
           
             








                                                                              
                                                     

                                                                              





                                    
         










                                         



                  


                                      
                                                                                                                                                                
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=eom
pkgver=1.24.1
pkgrel=0
pkgdesc="Image viewer for the MATE desktop environment"
url="https://mate-desktop.org"
arch="all"
license="GPL-2.0+ AND LGPL-2.0+ AND GPL-2.0-only"
depends=""
makedepends="gobject-introspection-dev gtk+3.0-dev intltool itstool
	mate-desktop-dev libjpeg-turbo-dev libexif-dev libpeas-dev librsvg-dev
	libxml2-dev libxml2-utils"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/eom-$pkgver.tar.xz"

prepare() {
	default_prepare
	rm -r help/ru po/ru.po
	sed -i 's/^ru$//' po/LINGUAS
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="70654b99f474d1b214cbbf8e799f82f3c38f47938df34cb5c8227c116b412364c568ae989b96d7082fb0d2fa319b3dba9b8dd499d19140a4d421bd09a46bffc0  eom-1.24.1.tar.xz"