diff --git a/.SRCINFO b/.SRCINFO index d0f942d..55ce850 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,13 @@ pkgbase = polkit-explorer pkgdesc = Present PolicyKit information in a human-readable form. - pkgver = 12.065314e - pkgrel = 2 - url = https://github.com/scarygliders/polkit-explorer + pkgver = 14.6c912f1 + pkgrel = 1 + url = https://github.com/ScrelliCopter/polkit-explorer arch = any license = ISC - depends = python2-pyqt5 - depends = python2-lxml - source = git://github.com/scarygliders/polkit-explorer.git + depends = python-pyqt5 + depends = python-lxml + source = git://github.com/ScrelliCopter/polkit-explorer.git#branch=python3 sha256sums = SKIP pkgname = polkit-explorer diff --git a/PKGBUILD b/PKGBUILD index c80be60..7aa57a6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,15 +1,15 @@ -# Maintainer: Manuel Hüsers +# Maintainer: Manuel Hüsers # Contributor: Alad Wenter pkgname=polkit-explorer -pkgver=12.065314e -pkgrel=2 +pkgver=14.6c912f1 +pkgrel=1 pkgdesc='Present PolicyKit information in a human-readable form.' arch=('any') -url="https://github.com/scarygliders/${pkgname}" +url="https://github.com/ScrelliCopter/${pkgname}" license=('ISC') -depends=('python2-pyqt5' 'python2-lxml') -source=("git://github.com/scarygliders/${pkgname}.git") +depends=('python-pyqt5' 'python-lxml') +source=("git://github.com/ScrelliCopter/${pkgname}.git#branch=python3") sha256sums=('SKIP') pkgver() { @@ -19,14 +19,13 @@ pkgver() { package() { cd "${srcdir}/${pkgname}" - local pydir='usr/lib/python2.7/site-packages/polkitex' - install -d -m755 "${pkgdir}"/{usr/bin,$pydir} - install -m644 Ui_*.py "${pkgdir}/${pydir}/" + 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 -m755 'polkitex.py' "${pkgdir}/${pydir}/" - ln -s "/${pydir}/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" }