blob: bfc0fd16555a9d31949c8b233504d945db5216db (
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
|
# Maintainer: Elia A. <elia@elinvention.ovh>
_pkgname=efiboots
pkgname="$_pkgname-git"
pkgver=1.0.r0.ga127150
pkgrel=2
pkgdesc="Manage EFI boot loader entries with this simple GUI"
url="https://github.com/Elinvention/efiboots"
license=('GPL3')
arch=('any')
depends=('python-gobject' 'efibootmgr' 'python3' 'gtk4')
makedepends=('git' 'python-setuptools')
optdepends=()
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+$url.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$_pkgname"
python setup.py build
}
package() {
cd "$srcdir/$_pkgname"
python setup.py install --root="$pkgdir" --optimize=1
}
|