Skip to content
Snippets Groups Projects
APKBUILD 895 B
Newer Older
August Klein's avatar
August Klein committed
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=ghex
Newbyte's avatar
Newbyte committed
pkgver=46.0
_pkgver=${pkgver%.*}
pkgrel=0
August Klein's avatar
August Klein committed
pkgdesc="A hex editor for GNOME"
url="https://wiki.gnome.org/Apps/Ghex"
arch="all"
Leo's avatar
Leo committed
license="GPL-2.0-or-later"
August Klein's avatar
August Klein committed
depends="dconf"
alice's avatar
alice committed
makedepends="
	at-spi2-core-dev
	desktop-file-utils
	glib-dev
	gtk4.0-dev
	itstool
	libadwaita-dev
	meson
	"
August Klein's avatar
August Klein committed
subpackages="$pkgname-dev $pkgname-lang $pkgname-doc"
Leo's avatar
Leo committed
source="https://download.gnome.org/sources/ghex/$_pkgver/ghex-$pkgver.tar.xz"
August Klein's avatar
August Klein committed

build() {
alice's avatar
alice committed
	abuild-meson -Db_lto=true . output
alice's avatar
alice committed
	meson compile -C output
J0WI's avatar
J0WI committed
check() {
	meson test --no-rebuild --print-errorlogs -C output
August Klein's avatar
August Klein committed
package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
sha512sums="
Newbyte's avatar
Newbyte committed
7f6c26b0644c1a253eef6eded0265ffaf882fb2400d1c4c40e9cefd9291d412b1425452930269d35c110fc88e6cf994f33a0ca9e937a419885f3c1820003220d  ghex-46.0.tar.xz