summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dcf7c55af96b08cc39ac3b6765819d6320f16618 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Ignacio Gonsalves <inscientebberman at tutanota dot com>
pkgname=gnu-slash-grub-git
pkgver=1.2.1
pkgrel=2
pkgdesc='Fix GRUB boot menu nonsense'
arch=('any')
url='https://codeberg.org/midnightmaniac/gnu-slash-grub'
license=('GPL-3.0-only')
depends=('bash')
makedepends=('git')
provides=("gnu-slash-grub=${pkgver}")
source=("${pkgname%-git}::git+https://codeberg.org/midnightmaniac/gnu-slash-grub.git#tag=v${pkgver}")
sha256sums=('SKIP')
package() {
    cd "${pkgname%-git}"
    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    install -Dm644 extra/${pkgname%-git}.hook "${pkgdir}/usr/share/libalpm/hooks/patch-grub.hook"
    install -Dm755 ${pkgname%-git} "${pkgdir}/usr/bin/${pkgname%-git}"
}