[arch-commits] Commit in ghex/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sat Jul 13 13:17:49 UTC 2019


    Date: Saturday, July 13, 2019 @ 13:17:48
  Author: heftig
Revision: 357878

3.18.4-1

Modified:
  ghex/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++---------------
 1 file changed, 10 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-13 12:59:44 UTC (rev 357877)
+++ PKGBUILD	2019-07-13 13:17:48 UTC (rev 357878)
@@ -2,16 +2,16 @@
 # Contributor: Tobias Kieslich <tobias at justdreams.de>
 
 pkgname=ghex
-pkgver=3.18.3
-pkgrel=2
+pkgver=3.18.4
+pkgrel=1
 pkgdesc="A simple binary editor for the Gnome desktop"
 url="https://wiki.gnome.org/Apps/Ghex"
 arch=(x86_64)
 license=(GPL)
 depends=(gtk3)
-makedepends=(intltool itstool docbook-xsl gnome-common git)
+makedepends=(git meson yelp-tools)
 groups=(gnome-extra)
-_commit=6615481532da7d378ef79b0f498ecc43dd0e1d40  # tags/3.18.3^0
+_commit=228094e8d203ab62e49c33df2734fc9628c74775  # tags/3.18.4^0
 source=("git+https://gitlab.gnome.org/GNOME/ghex.git#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -22,22 +22,17 @@
 
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
+  arch-meson $pkgname build
+  ninja -C build
+}
 
-  ./configure --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var --disable-static \
-      --disable-schemas-compile --enable-compile-warnings=minimum
-
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-  make
+check() {
+  meson test -C build --print-errorlogs
 }
 
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" meson install -C build
 }



More information about the arch-commits mailing list