2015-06-16 12:29:46 +02:00
|
|
|
# Maintainer: Alad Wenter <https://wiki.archlinux.org/index.php/Special:EmailUser/Alad>
|
|
|
|
|
|
|
|
pkgname=polkit-explorer
|
|
|
|
pkgver=1
|
2015-07-25 01:07:05 +02:00
|
|
|
pkgrel=7
|
2015-06-16 12:29:46 +02:00
|
|
|
|
|
|
|
pkgdesc="Present PolicyKit information in a human-readable form."
|
|
|
|
url="https://github.com/scarygliders/Polkit-Explorer"
|
|
|
|
license=('ISC')
|
2015-07-25 01:07:05 +02:00
|
|
|
arch=('any')
|
2015-06-16 12:29:46 +02:00
|
|
|
|
|
|
|
depends=('python2-pyqt4' 'python2-lxml')
|
2015-07-25 01:07:05 +02:00
|
|
|
source=("https://github.com/scarygliders/Polkit-Explorer/archive/master.zip"
|
2015-06-16 12:29:46 +02:00
|
|
|
'polkit-explorer.desktop')
|
2015-07-25 01:07:05 +02:00
|
|
|
sha256sums=('bc90ca03ee4d216bfb5e415d625c1449af5c87898f98305b48b10adf730c75d6'
|
2015-06-16 12:29:46 +02:00
|
|
|
'4343e7c3c9e0dc03bfae8521ab4197661c6ddf4caf150ba4cf3369dc9550518a')
|
|
|
|
|
|
|
|
package() {
|
2015-07-25 01:07:05 +02:00
|
|
|
cd Polkit-Explorer-master
|
|
|
|
local pydir=usr/lib/python2.7/site-packages/polkitex
|
2015-08-07 15:42:44 +02:00
|
|
|
|
|
|
|
install -d -m755 "$pkgdir"/{usr/bin,$pydir}
|
|
|
|
install -m644 Ui_*.py "$pkgdir"/$pydir/
|
2015-07-25 01:07:05 +02:00
|
|
|
|
2015-08-07 15:42:44 +02:00
|
|
|
sed -i 's/python$/python2/' polkitex.py
|
|
|
|
install -m755 polkitex.py "$pkgdir"/$pydir/
|
|
|
|
ln -s /$pydir/polkitex.py "$pkgdir"/usr/bin/polkitex
|
2015-07-25 01:07:05 +02:00
|
|
|
|
|
|
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/polkit-explorer/LICENSE
|
|
|
|
install -Dm644 "$srcdir"/polkit-explorer.desktop \
|
|
|
|
"$pkgdir"/usr/share/applications/polkit-explorer.desktop
|
2015-06-16 12:29:46 +02:00
|
|
|
}
|