summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD16
2 files changed, 11 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index af054a1d7ea..5078c16eb77 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = smarttrafficmeter
pkgdesc = Software for measuring network usage.
- pkgver = 2.1.1229.6881
+ pkgver = 2.1.1230.6885
pkgrel = 1
url = https://github.com/rafalfr/smarttrafficmeter
install = smarttrafficmeter.install
@@ -11,6 +11,7 @@ pkgbase = smarttrafficmeter
makedepends = boost
makedepends = curl
makedepends = binutils
+ makedepends = gzip
depends = boost-libs
depends = curl
provides = smarttrafficmeter
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
}