summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 874f40de479c9d325cb500dbf3e629d6dd31373a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Ernesto Castellotti <erny.castell@gmail.com>

_pkgname=blivet-gui
pkgname=$_pkgname-git
pkgver=e69d73b
pkgrel=1
pkgdesc='GUI tool for storage configuration'
arch=('any')
license=('GPL')
url='https://github.com/storaged-project/blivet-gui'
depends=('python' 'python-blivet-git' 'python-cairo' 'python-gobject' 'python-meh-git' 'python-pid')
source=("git+https://github.com/storaged-project/blivet-gui.git")
sha256sums=('SKIP')

package() {
	cd "${srcdir}/$_pkgname/"
	python setup.py install --root="${pkgdir}" --optimize=1
	install -D -m0644 blivet-gui.desktop "${pkgdir}/usr/share/applications/blivet-gui.desktop"
	install -D -m0644 org.fedoraproject.pkexec.blivet-gui.policy "${pkgdir}/usr/share/polkit-1/actions/org.fedoraproject.pkexec.blivet-gui.policy"
}