Package Details: smarttrafficmeter 2.2.1302.7280-1

Git Clone URL: https://aur.archlinux.org/smarttrafficmeter.git (read-only, click to copy)
Package Base: smarttrafficmeter
Description: Software for measuring network usage.
Upstream URL: https://github.com/rafalfr/smarttrafficmeter
Keywords: Measure network statistics traffic usage
Licenses: GPL3
Provides: smarttrafficmeter
Submitter: rafalfr
Maintainer: rafalfr
Last Packager: rafalfr
Votes: 2
Popularity: 0.000000
First Submitted: 2017-12-22 23:00 (UTC)
Last Updated: 2023-01-12 19:27 (UTC)

Required by (0)

Sources (0)

Latest Comments

dreieck commented on 2025-10-21 16:11 (UTC) (edited on 2025-10-21 16:15 (UTC) by dreieck)

Ahoj,

this PKGBUILD has several issues:

  1. You download stuff in build(). build() should be able to assume that the sources are fully prepared and should be able to run in an offline environment.
  2. You just clone from a git repository. Please use the source array:
    source=("smarttrafficmeter::git+https://github.com/rafalfr/smarttrafficmeter.git").
  3. Your package is a git package: It downloads the latest state from a git repository. So you must:
    (a) Rename it to smarttrafficmeter-git (i.e. with the -git suffix),
    (b) add conflicts=("smarttrafficmeter") (provides=('smarttrafficmeter') is already present),
    (c) add a proper pkgver() function that guarantees a strongly monotoneously increasing package version with each upstream commit (if this changes the versioning scheme such that the actual version is "lower" than the old one, increment $epoch; if not already set set epoch=1),
    (d) add replaces=("smarttrafficmeter<=2.2.1302.7280") (the latest version of the this package with the wrong name smarttrafficmeter).
  4. The license identifier should be changed to be SPDX compliant.

Regards and thanks for maintaining!