New release
Refactored PKGBUILD Changed versioning scheme
This commit is contained in:
parent
b3d6b7d72c
commit
ebe4e19613
2 changed files with 36 additions and 30 deletions
12
.SRCINFO
12
.SRCINFO
|
@ -1,15 +1,17 @@
|
||||||
|
# Generated by mksrcinfo v8
|
||||||
|
# Sat Feb 6 19:10:00 UTC 2016
|
||||||
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 = 6.e27209d
|
||||||
pkgrel = 7
|
pkgrel = 1
|
||||||
url = https://github.com/scarygliders/Polkit-Explorer
|
url = https://github.com/scarygliders/polkit-explorer
|
||||||
arch = any
|
arch = any
|
||||||
license = ISC
|
license = ISC
|
||||||
depends = python2-pyqt4
|
depends = python2-pyqt4
|
||||||
depends = python2-lxml
|
depends = python2-lxml
|
||||||
source = https://github.com/scarygliders/Polkit-Explorer/archive/master.zip
|
source = git://github.com/scarygliders/polkit-explorer.git
|
||||||
source = polkit-explorer.desktop
|
source = polkit-explorer.desktop
|
||||||
sha256sums = bc90ca03ee4d216bfb5e415d625c1449af5c87898f98305b48b10adf730c75d6
|
sha256sums = SKIP
|
||||||
sha256sums = 4343e7c3c9e0dc03bfae8521ab4197661c6ddf4caf150ba4cf3369dc9550518a
|
sha256sums = 4343e7c3c9e0dc03bfae8521ab4197661c6ddf4caf150ba4cf3369dc9550518a
|
||||||
|
|
||||||
pkgname = polkit-explorer
|
pkgname = polkit-explorer
|
||||||
|
|
54
PKGBUILD
54
PKGBUILD
|
@ -1,32 +1,36 @@
|
||||||
# Maintainer: Alad Wenter <https://wiki.archlinux.org/index.php/Special:EmailUser/Alad>
|
# Maintainer: Manuel Hüsers <manuel.huesers@uni-ol.de>
|
||||||
|
# Contributor: Alad Wenter <https://wiki.archlinux.org/index.php/Special:EmailUser/Alad>
|
||||||
|
|
||||||
pkgname=polkit-explorer
|
pkgname=polkit-explorer
|
||||||
pkgver=1
|
pkgver=6.e27209d
|
||||||
pkgrel=7
|
pkgrel=1
|
||||||
|
pkgdesc='Present PolicyKit information in a human-readable form.'
|
||||||
pkgdesc="Present PolicyKit information in a human-readable form."
|
|
||||||
url="https://github.com/scarygliders/Polkit-Explorer"
|
|
||||||
license=('ISC')
|
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
url="https://github.com/scarygliders/${pkgname}"
|
||||||
|
license=('ISC')
|
||||||
depends=('python2-pyqt4' 'python2-lxml')
|
depends=('python2-pyqt4' 'python2-lxml')
|
||||||
source=("https://github.com/scarygliders/Polkit-Explorer/archive/master.zip"
|
source=("git://github.com/scarygliders/${pkgname}.git"
|
||||||
'polkit-explorer.desktop')
|
"${pkgname}.desktop")
|
||||||
sha256sums=('bc90ca03ee4d216bfb5e415d625c1449af5c87898f98305b48b10adf730c75d6'
|
sha256sums=('SKIP'
|
||||||
'4343e7c3c9e0dc03bfae8521ab4197661c6ddf4caf150ba4cf3369dc9550518a')
|
'4343e7c3c9e0dc03bfae8521ab4197661c6ddf4caf150ba4cf3369dc9550518a')
|
||||||
|
|
||||||
package() {
|
pkgver() {
|
||||||
cd Polkit-Explorer-master
|
cd "${srcdir}/${pkgname}"
|
||||||
local pydir=usr/lib/python2.7/site-packages/polkitex
|
printf '%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
install -d -m755 "$pkgdir"/{usr/bin,$pydir}
|
|
||||||
install -m644 Ui_*.py "$pkgdir"/$pydir/
|
package() {
|
||||||
|
cd "${srcdir}/${pkgname}"
|
||||||
sed -i 's/python$/python2/' polkitex.py
|
local pydir='usr/lib/python2.7/site-packages/polkitex'
|
||||||
install -m755 polkitex.py "$pkgdir"/$pydir/
|
|
||||||
ln -s /$pydir/polkitex.py "$pkgdir"/usr/bin/polkitex
|
install -d -m755 "${pkgdir}"/{usr/bin,$pydir}
|
||||||
|
install -m644 Ui_*.py "${pkgdir}/${pydir}/"
|
||||||
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/polkit-explorer/LICENSE
|
|
||||||
install -Dm644 "$srcdir"/polkit-explorer.desktop \
|
sed -i 's/python$/python2/' 'polkitex.py'
|
||||||
"$pkgdir"/usr/share/applications/polkit-explorer.desktop
|
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 "${srcdir}/${pkgname}.desktop" \
|
||||||
|
"${pkgdir}/usr/share/applications/${pkgname}.desktop"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue