summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1590a539a03..b2dc747ff3d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
# Maintainer: Rafał Frączek <rafalfr@protonmail.ch>
pkgname=smarttrafficmeter
-pkgver=2.1.1229.6881
+pkgver=2.1.1230.6885
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')
+makedepends=('gcc' 'git' 'boost' 'curl' 'binutils' 'gzip')
checkdepends=()
optdepends=()
provides=('smarttrafficmeter')
@@ -23,12 +23,14 @@ md5sums=()
validpgpkeys=()
build() {
- git clone --depth 1 "https://github.com/rafalfr/smarttrafficmeter.git"
- cd ${srcdir}/smarttrafficmeter/
- make -f SmartTrafficMeter.cbp.mak linux_release
+ 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
+ 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
+ install -D -m755 ${srcdir}/smarttrafficmeter/man/smarttrafficmeter.1 ${pkgdir}/usr/share/man/man1/smarttrafficmeter.1
+ gzip /usr/share/man/man1/smarttrafficmeter.1
}