aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ghex/APKBUILD
blob: 4d9a130aa82e13bc817e0923b2d6d5a95a6ae68f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=ghex
pkgver=3.18.3
_pkgver=${pkgver%.*}
pkgrel=1
pkgdesc="A hex editor for GNOME"
url="https://wiki.gnome.org/Apps/Ghex"
arch="all"
license="GPL"
depends="dconf"
depends_dev="gtk+3.0-dev"
makedepends="$depends_dev intltool itstool libxml2-utils"
subpackages="$pkgname-dev $pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/ghex/$_pkgver/$pkgname-$pkgver.tar.xz"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-schemas-compile \
		--enable-compile-warnings=no
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" DATADIRNAME=share install
}

sha512sums="e03b154a22db000a5994c68bb72280113e69e7ef210f86ab2c6578e77daabf50bac8eb620ffaad5a7eb776d23383478cbdc7fb317fa336cef55173f858519023  ghex-3.18.3.tar.xz"