summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a3c5deacf91a019b74fe0b0e101d5c7dea086de5 (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.1227.6875
pkgrel=1
pkgdesc="Software for measuring network usage"
arch=('x86_64')
url="https://bitbucket.org/rafalfr/smarttrafficmeter/overview"
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://rafalfr@bitbucket.org/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/smarttrafficmeter.service ${pkgdir}/usr/lib/systemd/system/smarttrafficmeter.service
 }