Upd
This commit is contained in:
parent
b41e09121f
commit
b3d6b7d72c
2 changed files with 8 additions and 12 deletions
6
.SRCINFO
6
.SRCINFO
|
@ -1,9 +1,7 @@
|
||||||
# Generated by makepkg 4.2.1
|
|
||||||
# Mon Mar 9 17:00:02 UTC 2015
|
|
||||||
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 = 1
|
pkgver = 1
|
||||||
pkgrel = 5
|
pkgrel = 7
|
||||||
url = https://github.com/scarygliders/Polkit-Explorer
|
url = https://github.com/scarygliders/Polkit-Explorer
|
||||||
arch = any
|
arch = any
|
||||||
license = ISC
|
license = ISC
|
||||||
|
@ -11,7 +9,7 @@ pkgbase = polkit-explorer
|
||||||
depends = python2-lxml
|
depends = python2-lxml
|
||||||
source = https://github.com/scarygliders/Polkit-Explorer/archive/master.zip
|
source = https://github.com/scarygliders/Polkit-Explorer/archive/master.zip
|
||||||
source = polkit-explorer.desktop
|
source = polkit-explorer.desktop
|
||||||
sha256sums = 877b909d2f85d7c5c448b75a15fc193b1c18882f4548bbd9dbce3805803ae751
|
sha256sums = bc90ca03ee4d216bfb5e415d625c1449af5c87898f98305b48b10adf730c75d6
|
||||||
sha256sums = 4343e7c3c9e0dc03bfae8521ab4197661c6ddf4caf150ba4cf3369dc9550518a
|
sha256sums = 4343e7c3c9e0dc03bfae8521ab4197661c6ddf4caf150ba4cf3369dc9550518a
|
||||||
|
|
||||||
pkgname = polkit-explorer
|
pkgname = polkit-explorer
|
||||||
|
|
14
PKGBUILD
14
PKGBUILD
|
@ -18,15 +18,13 @@ sha256sums=('bc90ca03ee4d216bfb5e415d625c1449af5c87898f98305b48b10adf730c75d6'
|
||||||
package() {
|
package() {
|
||||||
cd Polkit-Explorer-master
|
cd Polkit-Explorer-master
|
||||||
local pydir=usr/lib/python2.7/site-packages/polkitex
|
local pydir=usr/lib/python2.7/site-packages/polkitex
|
||||||
|
|
||||||
|
install -d -m755 "$pkgdir"/{usr/bin,$pydir}
|
||||||
|
install -m644 Ui_*.py "$pkgdir"/$pydir/
|
||||||
|
|
||||||
sed -i 's/python$/python2/' polkitex.py
|
sed -i 's/python$/python2/' polkitex.py
|
||||||
|
install -m755 polkitex.py "$pkgdir"/$pydir/
|
||||||
install -Dm755 polkitex.py "$pkgdir/$pydir"/polkitex.py
|
ln -s /$pydir/polkitex.py "$pkgdir"/usr/bin/polkitex
|
||||||
install -dm755 "$pkgdir"/usr/bin
|
|
||||||
ln -s /"$pydir"/polkitex.py "$pkgdir"/usr/bin/polkitex
|
|
||||||
|
|
||||||
for i in Ui_*.py; do
|
|
||||||
install -Dm644 "$i" "$pkgdir/$pydir/$i"
|
|
||||||
done
|
|
||||||
|
|
||||||
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/polkit-explorer/LICENSE
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/polkit-explorer/LICENSE
|
||||||
install -Dm644 "$srcdir"/polkit-explorer.desktop \
|
install -Dm644 "$srcdir"/polkit-explorer.desktop \
|
||||||
|
|
Loading…
Reference in a new issue