blob: 05c16a67e15b4e482cd30b8a04f38e9cc5204e47 (
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
|
# Maintainer: koonix <ehsan at disroot dot org>
_pkgname='grub-entries'
pkgname="${_pkgname}-git"
pkgver='r9.4f939c1'
pkgrel=4
pkgdesc="A script to list grub's top-level menu entries."
url='https://github.com/koonix/grub-entries'
arch=('x86_64')
license=('GPL')
makedepends=('git')
source=("git+${url}.git")
md5sums=('SKIP')
provides=("$_pkgname")
conflicts=("$_pkgname")
pkgver() {
cd "$_pkgname"
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$_pkgname"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
|