Add 'polkit-explorer-git/' from commit 'c39956b6dc507b84a32c6a259ce50b43074b9832'
git-subtree-dir: polkit-explorer-git git-subtree-mainline:3ee96b7f8e
git-subtree-split:c39956b6dc
This commit is contained in:
commit
72e058bcd0
2 changed files with 48 additions and 0 deletions
15
polkit-explorer-git/.SRCINFO
Normal file
15
polkit-explorer-git/.SRCINFO
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
pkgbase = polkit-explorer-git
|
||||||
|
pkgdesc = Present PolicyKit information in a human-readable form.
|
||||||
|
pkgver = 15.fac8d70
|
||||||
|
pkgrel = 3
|
||||||
|
url = https://github.com/scarygliders/polkit-explorer
|
||||||
|
arch = any
|
||||||
|
license = ISC
|
||||||
|
depends = python-pyqt5
|
||||||
|
depends = python-lxml
|
||||||
|
provides = polkit-explorer
|
||||||
|
conflicts = polkit-explorer
|
||||||
|
source = git+https://github.com/scarygliders/polkit-explorer.git
|
||||||
|
sha256sums = SKIP
|
||||||
|
|
||||||
|
pkgname = polkit-explorer-git
|
33
polkit-explorer-git/PKGBUILD
Normal file
33
polkit-explorer-git/PKGBUILD
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# Maintainer: Manuel Hüsers <aur@huesers.de>
|
||||||
|
# Contributor: Alad Wenter <https://wiki.archlinux.org/index.php/Special:EmailUser/Alad>
|
||||||
|
|
||||||
|
pkgname=polkit-explorer-git
|
||||||
|
pkgver=15.fac8d70
|
||||||
|
pkgrel=3
|
||||||
|
pkgdesc='Present PolicyKit information in a human-readable form.'
|
||||||
|
arch=('any')
|
||||||
|
url="https://github.com/scarygliders/${pkgname//-git}"
|
||||||
|
license=('ISC')
|
||||||
|
depends=('python-pyqt5' 'python-lxml')
|
||||||
|
conflicts=('polkit-explorer')
|
||||||
|
provides=('polkit-explorer')
|
||||||
|
source=("git+https://github.com/scarygliders/${pkgname//-git}.git")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "${srcdir}/${pkgname//-git}"
|
||||||
|
printf '%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/${pkgname//-git}"
|
||||||
|
|
||||||
|
install -d -m755 "${pkgdir}"/{usr/bin,opt/$pkgname}
|
||||||
|
install -m644 Ui_*.py "${pkgdir}/opt/${pkgname}/"
|
||||||
|
|
||||||
|
install -m755 'polkitex.py' "${pkgdir}/opt/${pkgname}/"
|
||||||
|
ln -s "/opt/${pkgname}/polkitex.py" "${pkgdir}/usr/bin/polkitex"
|
||||||
|
|
||||||
|
install -Dm644 'LICENSE' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
|
install -Dm644 "polkitex.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
|
||||||
|
}
|
Loading…
Reference in a new issue