summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 07cceb2da58e75d067892d76e2c0d8a64b92b2bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Maintainer: Julien Nicoulaud <julien dot nicoulaud at gmail dot com>

pkgname=nutty
pkgver=1.1.1
pkgrel=1
pkgdesc='A network utility for linux. Monitor the devices on your network and check bandwidth and speed details.'
arch=('i686' 'x86_64')
url='https://github.com/babluboy/nutty'
license=('GPL3')
depends=('gtk3' 'granite' 'sqlite' 'libxml2' 'libnotify' 'libgee' 'net-tools' 'nethogs' 'nmap' 'traceroute' 'vnstat' 'curl' 'wireless_tools' 'iproute2' 'pciutils')
makedepends=('vala' 'meson')
provides=("${pkgname}")
conflicts=("${pkgname}-git")
install="${pkgname}.install"
source=("https://github.com/babluboy/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('b6c9ef1966d1c60480943313f20cd66ee1b5d23ac8d6578f457fb99f0898d9ba')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  install -Dm755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
}


build() {
  mkdir -p "${srcdir}/${pkgname}-${pkgver}/build"
  cd "${srcdir}/${pkgname}-${pkgver}/build"
  arch-meson
  ninja
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}/build"
  DESTDIR=${pkgdir} ninja install
}