summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortydell2018-11-28 09:42:24 +0100
committertydell2018-11-28 09:42:24 +0100
commit19e5c1a747ef1d57ef43098d898a9bbb3823d00a (patch)
tree1e79e39bddecaa5db66ec7e4815951eea262fd84
parente3f75aade06458f7128578f234fb7ec34092a6cb (diff)
downloadaur-19e5c1a747ef1d57ef43098d898a9bbb3823d00a.tar.gz
Package updated - now builds with meson
-rw-r--r--.SRCINFO4
-rwxr-xr-xPKGBUILD26
2 files changed, 15 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ef01d4ffc7e..49a0a8dc3a5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = nutty-git
pkgdesc = A network utility for linux. Monitor the devices on your network and check bandwidth and speed details.
- pkgver = 82.6877a87
+ pkgver = 120.8af2d4a
pkgrel = 1
url = https://github.com/babluboy/nutty
install = nutty.install
@@ -9,7 +9,7 @@ pkgbase = nutty-git
license = GPL3
makedepends = vala
makedepends = git
- makedepends = cmake
+ makedepends = meson
depends = gtk3
depends = granite
depends = sqlite
diff --git a/PKGBUILD b/PKGBUILD
index f75a70f502c..e76c0b2597a 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Siddhartha Das <https://github.com/babluboy, bablu.boy@gmail.com>
pkgname=nutty-git
-pkgver=82.6877a87
+pkgver=120.8af2d4a
pkgrel=1
_gitname=nutty
pkgdesc='A network utility for linux. Monitor the devices on your network and check bandwidth and speed details.'
@@ -11,7 +11,7 @@ url='https://github.com/babluboy/nutty'
license=('GPL3')
depends=('gtk3' 'granite' 'sqlite' 'libxml2' 'libnotify' 'libgee')
optdepends=()
-makedepends=('vala' 'git' 'cmake')
+makedepends=('vala' 'git' 'meson')
provides=("${pkgname%}")
conflicts=("${pkgname%}")
install="${pkgname%-*}.install"
@@ -23,21 +23,21 @@ pkgver() {
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
-build() {
- cd $_gitname
+prepare() {
+ cd $srcdir/$_gitname
+ git submodule init; git submodule update
+}
- if [[ -d build ]]; then
- rm -rf build
- fi
- mkdir build && cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr
- make
+build() {
+ mkdir -p $srcdir/$_gitname/build
+ cd $srcdir/$_gitname/build
+ arch-meson
+ ninja
}
package() {
- cd $_gitname/build
-
- make DESTDIR="${pkgdir}" install
+ cd $srcdir/$_gitname/build
+ DESTDIR=${pkgdir} ninja install
}
# vim: ts=2 sw=2 et: