PKGBuild updated with the fix provided by djsigmann on a previous comment, it's also my first attempt at packaging so please do let me know if anything is wrong
Search Criteria
Package Details: cmd-polkit-git r268.0b52f76-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/cmd-polkit-git.git (read-only, click to copy) |
|---|---|
| Package Base: | cmd-polkit-git |
| Description: | Command line tool for custom polkit agent UIs |
| Upstream URL: | https://github.com/OmarCastro/cmd-polkit |
| Keywords: | agent polkit |
| Licenses: | LGPL2.1 |
| Submitter: | czaplicki |
| Maintainer: | Coki91 |
| Last Packager: | Coki91 |
| Votes: | 0 |
| Popularity: | 0.000000 |
| First Submitted: | 2022-05-24 15:32 (UTC) |
| Last Updated: | 2025-11-15 14:28 (UTC) |
Dependencies (6)
- glib2 (glib2-selinuxAUR, glib2-gitAUR, glib2-patched-thumbnailerAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- json-glib (json-glib-gitAUR)
- polkit (polkit-gitAUR, polkit-consolekitAUR)
- git (git-gitAUR, git-glAUR) (make)
- meson (meson-gitAUR) (make)
Required by (1)
Sources (1)
Latest Comments
Coki91 commented on 2025-11-15 14:30 (UTC)
djsigmann commented on 2024-06-23 22:18 (UTC) (edited on 2024-06-23 22:19 (UTC) by djsigmann)
The comment below has flaws, this should fix the PKGBUILD: https://gist.github.com/djsigmann/dc587255dc026df193680186a69ef5c4
LeoFa commented on 2024-05-01 09:25 (UTC)
Hi, your PKGBUILD doesn´t compile; has trouble finding the source directory; not an expert but fixed it with chatgpt; the relevant chat; https://chat.openai.com/share/47558139-a79a-48a3-a45a-02712597fa2f.
updated PKGBUILD
# Maintainer: czaplicki <dev dot czaplicki at icloud dot com>
pkgname='cmd-polkit-git'
pkgver=r132.be964ed
pkgrel=1
pkgdesc="Command line tool for custom polkit agent UIs"
arch=('x86_64')
url="https://github.com/OmarCastro/cmd-polkit"
license=('MIT')
depends=('glib2' 'json-glib' 'polkit' 'gtk3')
makedepends=('git' 'meson')
source=("git+https://github.com/OmarCastro/cmd-polkit.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}" || return 1
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "${srcdir}"
git clone "${url}" "${pkgname}"
}
build() {
arch-meson "${srcdir}/${pkgname}" "${pkgname}-build"
meson compile -C "${srcdir}/${pkgname}-build"
}
package() {
meson install -C "${srcdir}/${pkgname}-build" --destdir "$pkgdir"
install -Dm644 "${srcdir}/${pkgname}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Pinned Comments
Coki91 commented on 2025-11-15 14:30 (UTC)
PKGBuild updated with the fix provided by djsigmann on a previous comment, it's also my first attempt at packaging so please do let me know if anything is wrong