24 lines
797 B
Bash
24 lines
797 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=ghex
|
|
pkgver=3.18.4
|
|
pkgrel=1
|
|
pkgdesc="A simple, free and libre binary editor"
|
|
url='https://wiki.gnome.org/Apps/Ghex'
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL-2' 'FDL-1.1')
|
|
depends=('gtk' 'mesa-libgl')
|
|
makedepends=('meson' 'yelp-tools' 'cmake' 'gettext-tiny')
|
|
source=("${pkgname}-${pkgver}.tar.xz::https://deb.debian.org/debian/pool/main/g/ghex/ghex_${pkgver}.orig.tar.xz")
|
|
sha512sums=('6121a5986ee7d7f96bf7f401e155f8aa37f076af455bc68e43d1b5b02b63bc9aed3eba5209511d1b659eb4c9093ab5d9601c14a5e868d979e92a6d0ca0cf9ce2')
|
|
|
|
build() {
|
|
hyperbola-meson $pkgname-$pkgver build
|
|
ninja -C build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install -C build
|
|
install -Dm644 "$srcdir/$pkgname-$pkgver/"COPYING{,-DOCS} -t "${pkgdir}/usr/share/licenses/$pkgname"
|
|
}
|