Python 3 compatibility
This commit is contained in:
parent
4d78a035ed
commit
9a19ab8611
2 changed files with 17 additions and 18 deletions
12
.SRCINFO
12
.SRCINFO
|
@ -1,13 +1,13 @@
|
||||||
pkgbase = polkit-explorer
|
pkgbase = polkit-explorer
|
||||||
pkgdesc = Present PolicyKit information in a human-readable form.
|
pkgdesc = Present PolicyKit information in a human-readable form.
|
||||||
pkgver = 12.065314e
|
pkgver = 14.6c912f1
|
||||||
pkgrel = 2
|
pkgrel = 1
|
||||||
url = https://github.com/scarygliders/polkit-explorer
|
url = https://github.com/ScrelliCopter/polkit-explorer
|
||||||
arch = any
|
arch = any
|
||||||
license = ISC
|
license = ISC
|
||||||
depends = python2-pyqt5
|
depends = python-pyqt5
|
||||||
depends = python2-lxml
|
depends = python-lxml
|
||||||
source = git://github.com/scarygliders/polkit-explorer.git
|
source = git://github.com/ScrelliCopter/polkit-explorer.git#branch=python3
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
|
|
||||||
pkgname = polkit-explorer
|
pkgname = polkit-explorer
|
||||||
|
|
21
PKGBUILD
21
PKGBUILD
|
@ -1,15 +1,15 @@
|
||||||
# Maintainer: Manuel Hüsers <manuel.huesers@uni-ol.de>
|
# Maintainer: Manuel Hüsers <aur@huesers.de>
|
||||||
# Contributor: Alad Wenter <https://wiki.archlinux.org/index.php/Special:EmailUser/Alad>
|
# Contributor: Alad Wenter <https://wiki.archlinux.org/index.php/Special:EmailUser/Alad>
|
||||||
|
|
||||||
pkgname=polkit-explorer
|
pkgname=polkit-explorer
|
||||||
pkgver=12.065314e
|
pkgver=14.6c912f1
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc='Present PolicyKit information in a human-readable form.'
|
pkgdesc='Present PolicyKit information in a human-readable form.'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://github.com/scarygliders/${pkgname}"
|
url="https://github.com/ScrelliCopter/${pkgname}"
|
||||||
license=('ISC')
|
license=('ISC')
|
||||||
depends=('python2-pyqt5' 'python2-lxml')
|
depends=('python-pyqt5' 'python-lxml')
|
||||||
source=("git://github.com/scarygliders/${pkgname}.git")
|
source=("git://github.com/ScrelliCopter/${pkgname}.git#branch=python3")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
|
@ -19,13 +19,12 @@ pkgver() {
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}"
|
cd "${srcdir}/${pkgname}"
|
||||||
local pydir='usr/lib/python2.7/site-packages/polkitex'
|
|
||||||
|
|
||||||
install -d -m755 "${pkgdir}"/{usr/bin,$pydir}
|
install -d -m755 "${pkgdir}"/{usr/bin,opt/$pkgname}
|
||||||
install -m644 Ui_*.py "${pkgdir}/${pydir}/"
|
install -m644 Ui_*.py "${pkgdir}/opt/${pkgname}/"
|
||||||
|
|
||||||
install -m755 'polkitex.py' "${pkgdir}/${pydir}/"
|
install -m755 'polkitex.py' "${pkgdir}/opt/${pkgname}/"
|
||||||
ln -s "/${pydir}/polkitex.py" "${pkgdir}/usr/bin/polkitex"
|
ln -s "/opt/${pkgname}/polkitex.py" "${pkgdir}/usr/bin/polkitex"
|
||||||
|
|
||||||
install -Dm644 'LICENSE' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
install -Dm644 'LICENSE' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
install -Dm644 "polkitex.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
|
install -Dm644 "polkitex.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
|
||||||
|
|
Loading…
Add table
Reference in a new issue