aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ghex/APKBUILD
blob: fa59c0d9cf50c07667e4d376dbcf8597a1765fe9 (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
36
37
38
39
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=ghex
pkgver=3.18.1
_pkgver=${pkgver%.*}
pkgrel=0
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 itstool libxml2-utils"
install=""
subpackages="$pkgname-dev $pkgname-lang $pkgname-doc"
source="http://ftp.gnome.org/pub/GNOME/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 \
		|| return 1
	make || return 1
}

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

md5sums="d7b51a7554b685719d40a3ba5a14f5f9  ghex-3.18.1.tar.xz"
sha256sums="a0aacbc18bf89b3ad1ff96e108d94ed1fc8ba517689f847207be7749606b084b  ghex-3.18.1.tar.xz"
sha512sums="165a97b5b0da2dcbd0b4b4f811a5c28f64d5e25be2a1b976687d83eec73cf6728686e024c69e3517cf187aeaf656cfce9bebf98e564e2b0147d2438845d2c235  ghex-3.18.1.tar.xz"