summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRafał Frączek2017-12-23 00:00:01 +0100
committerRafał Frączek2017-12-23 00:00:01 +0100
commit1d875ad82a09232ed153b9a2d7b644125acdc744 (patch)
treef5cd92c1612573bfea990b273a1a01de0205e0e5 /PKGBUILD
downloadaur-1d875ad82a09232ed153b9a2d7b644125acdc744.tar.gz
the first release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cd2f109754e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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=""
+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
+ }