summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1590a539a03ff89bf2a8217bbedc66f627cc18c7 (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
# Maintainer: Rafał Frączek <rafalfr@protonmail.ch>
pkgname=smarttrafficmeter
pkgver=2.1.1229.6881
pkgrel=1
pkgdesc="Software for measuring network usage."
arch=('x86_64')
url="https://github.com/rafalfr/smarttrafficmeter"
license=('GPL3')
depends=('boost-libs' 'curl')
makedepends=('gcc' 'git' 'boost' 'curl' 'binutils')
checkdepends=()
optdepends=()
provides=('smarttrafficmeter')
conflicts=()
replaces=()
backup=()
options=()
install='smarttrafficmeter.install'
changelog=
source=()
noextract=()
md5sums=()
validpgpkeys=()

build() {
	git clone --depth 1 "https://github.com/rafalfr/smarttrafficmeter.git"
	cd ${srcdir}/smarttrafficmeter/
	make -f SmartTrafficMeter.cbp.mak linux_release
}

package() {
 	install -D -m755 ${srcdir}/smarttrafficmeter/bin/Release/smarttrafficmeter ${pkgdir}/usr/bin/smarttrafficmeter
 	install -D -m755 ${srcdir}/smarttrafficmeter/install/arch/smarttrafficmeter.service ${pkgdir}/usr/lib/systemd/system/smarttrafficmeter.service
 }