aboutsummaryrefslogblamecommitdiffstats
path: root/testing/ghex/APKBUILD
blob: f0484d2716d623bb95b361f3c3d084251c5c6524 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                                 
             
                    






                                      
                                                

                                                     
                                                                                 
 
                                   

         
                      




                                           
                                              




                           
                      
                                                                    

 
                                                                                                                                                                 
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=ghex
pkgver=3.18.3
_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="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 \
		|| return 1
	make || return 1
}

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

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