[arch-commits] Commit in gnome-nettool/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Mon Jan 22 00:51:06 UTC 2018
Date: Monday, January 22, 2018 @ 00:50:57
Author: heftig
Revision: 315236
3.8.1+205+g8550eef-1
Modified:
gnome-nettool/trunk/PKGBUILD
----------+
PKGBUILD | 30 ++++++++++++++++--------------
1 file changed, 16 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-22 00:44:09 UTC (rev 315235)
+++ PKGBUILD 2018-01-22 00:50:57 UTC (rev 315236)
@@ -4,39 +4,41 @@
# Contributor: Kritoke <kritoke at nospam.gmail.com>
pkgname=gnome-nettool
-pkgver=3.8.1+144+gdd04271
+pkgver=3.8.1+205+g8550eef
pkgrel=1
pkgdesc="Graphical interface for various networking tools"
+url="https://git.gnome.org/browse/gnome-nettool"
arch=(x86_64)
license=(GPL)
depends=(gtk3 libgtop dnsutils iputils dconf whois)
-makedepends=(yelp-tools intltool nmap net-tools git gnome-common)
+makedepends=(nmap net-tools git meson itstool)
optdepends=('nmap: Port scanning'
'net-tools: Network statistics')
groups=(gnome-extra)
-url="https://git.gnome.org/browse/gnome-nettool"
-_commit=dd04271f17440ceb130995d72fed6478158f9d50 # master
+_commit=8550eef45eb228fb4a4c816bde33ec24da0aa06e # master
source=("git+https://git.gnome.org/browse/gnome-nettool#commit=$_commit")
sha256sums=('SKIP')
-prepare() {
+pkgver() {
cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
+ git describe --tags | sed 's/^gnome-nettool-//;s/-/./;s/-/./;s/-/+/g'
}
-check() {
+prepare() {
cd $pkgname
- make check
}
build() {
- cd $pkgname
- ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-schemas-compile
- make
+ CFLAGS+=" -fvisibility=hidden"
+ arch-meson $pkgname build
+ ninja -C build
}
+check() {
+ cd build
+ meson test
+}
+
package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -C build install
}
More information about the arch-commits
mailing list