Package Details: libipt-git 1:2.0+190.r929.20221010.85ee54e-1

Git Clone URL: https://aur.archlinux.org/libipt-git.git (read-only, click to copy)
Package Base: libipt-git
Description: An Intel(R) Processor Trace decoder library
Upstream URL: https://github.com/intel/libipt
Licenses: BSD
Conflicts: libipt
Provides: libipt
Submitter: bet4it
Maintainer: None
Last Packager: dreieck
Votes: 0
Popularity: 0.000000
First Submitted: 2020-01-14 14:00 (UTC)
Last Updated: 2023-07-25 18:04 (UTC)

Dependencies (5)

Required by (1)

Sources (1)

Latest Comments

dreieck commented on 2023-06-01 13:18 (UTC)

Changes adopted.

dreieck commented on 2023-04-12 12:35 (UTC) (edited on 2023-04-12 12:38 (UTC) by dreieck)

A PKGBUILD which adresses the issues just reported can be found ↗ here.

It also installs the README, Manpages, and enables other compile options/ features.

Feel free to take from it what you like.

Regards!

dreieck commented on 2023-04-12 12:16 (UTC) (edited on 2023-04-12 12:38 (UTC) by dreieck)

Ahoj,

there are a few issues with your package:

(1) provides and conflicts entries

Please add
provides=("libipt")
and
conflicts=("libipt").

Thanks for maintaining!

(2) License

License "BSD" is not a common license as of /usr/share/licenses/common/. So you must install a license text into /usr/share/licenses/${pkgname}/.

(3) Missing dependency glibc

Dependency glibc needs to be added to the depends array.

(4) Official upstream version

There is an official version information available. For example, git describe --tags returns a string that contains 2.0.

Please use this in your pkgver().

Then, change provides=("libipt") to provides=("libipt=${pkgver}").

An example of a pkgver():

pkgver() {
  cd ${pkgname}

  _ver="$(git describe --tags | sed -E -e 's|^[vV]||' -e 's|\-g[0-9a-f]*$||' | tr '-' '+')"
  _rev="$(git rev-list --count HEAD)"
  _date="$(git log -1 --date=format:"%Y%m%d" --format="%ad")"
  _hash="$(git rev-parse --short HEAD)"

  if [ -z "${_ver}" ]; then
    error "Could not determine version."
    return 1
  else
    printf '%s' "${_ver}.r${_rev}.${_date}.${_hash}"
  fi
}

Thanks for maintaining!