[arch-commits] Commit in ghex/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue May 19 08:24:15 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:24:14
  Author: felixonmars
Revision: 386281

archrelease: copy trunk to staging-x86_64

Added:
  ghex/repos/staging-x86_64/
  ghex/repos/staging-x86_64/PKGBUILD
    (from rev 386279, ghex/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: ghex/repos/staging-x86_64/PKGBUILD (from rev 386279, ghex/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 08:24:14 UTC (rev 386281)
@@ -0,0 +1,38 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Tobias Kieslich <tobias at justdreams.de>
+
+pkgname=ghex
+pkgver=3.18.4
+pkgrel=2
+pkgdesc="A simple binary editor for the Gnome desktop"
+url="https://wiki.gnome.org/Apps/Ghex"
+arch=(x86_64)
+license=(GPL)
+depends=(gtk3)
+makedepends=(git meson yelp-tools)
+groups=(gnome-extra)
+_commit=228094e8d203ab62e49c33df2734fc9628c74775  # tags/3.18.4^0
+source=("git+https://gitlab.gnome.org/GNOME/ghex.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}



More information about the arch-commits mailing list