[arch-commits] Commit in ghex/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sat Jul 13 14:32:21 UTC 2019
Date: Saturday, July 13, 2019 @ 14:32:20
Author: heftig
Revision: 357879
archrelease: copy trunk to extra-x86_64
Added:
ghex/repos/extra-x86_64/PKGBUILD
(from rev 357878, ghex/trunk/PKGBUILD)
Deleted:
ghex/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 81 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 38 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-07-13 13:17:48 UTC (rev 357878)
+++ PKGBUILD 2019-07-13 14:32:20 UTC (rev 357879)
@@ -1,43 +0,0 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: Tobias Kieslich <tobias at justdreams.de>
-
-pkgname=ghex
-pkgver=3.18.3
-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=(intltool itstool docbook-xsl gnome-common git)
-groups=(gnome-extra)
-_commit=6615481532da7d378ef79b0f498ecc43dd0e1d40 # tags/3.18.3^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
- NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
- cd $pkgname
-
- ./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
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
-}
Copied: ghex/repos/extra-x86_64/PKGBUILD (from rev 357878, ghex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-07-13 14:32:20 UTC (rev 357879)
@@ -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=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=(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