blob: f16f3133af15616f8d5bd2845760f8234ec5a2b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Ernesto Castellotti <erny.castell@gmail.com>
# Maintainer: Cleber Matheus <clebermatheus@outlook.com>
pkgname=blivet-gui-git
pkgver=2.6.0.r3.gd778396
pkgrel=1
pkgdesc='GUI tool for storage configuration'
arch=('any')
license=('GPL')
url='https://github.com/storaged-project/blivet-gui'
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
makedepends=('git' 'python' 'python-cairo' 'python-setuptools' 'python-gobject'
'python-pid' 'python-blivet' 'python-sphinx')
depends=('python' 'python-blivet-git' 'python-cairo' 'python-gobject' 'python-meh'
'python-pid' 'python-polib' 'python-coverage' 'python-pycodestyle' 'python-pip' 'python-pocketlint')
source=("${pkgname%-git}::git+https://github.com/storaged-project/blivet-gui.git")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
check() {
cd "${pkgname%-git}"
make -k check
}
package() {
cd "${srcdir}/${pkgname%-git}/"
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"
}
|