summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1c82893a912921e0cf7e6a0eba22752e0831f4e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: American_Jesus <american.jesus.pt AT gmail DOT com>
pkgname=grub2-theme-preview
pkgver=1.3.1
pkgrel=2
pkgdesc="Preview a full GRUB 2.x theme (or just a background image) using KVM/QEMU"
arch=('any')
url="https://github.com/hartwork/grub2-theme-preview"
license=('GPL')
depends=('glib2' 'gtk3')
makedepends=('grub' 'qemu' 'mtools' 'libisoburn')
source=("git+https://github.com/hartwork/grub2-theme-preview.git#tag=${pkgver}")
sha256sums=('SKIP')

build(){
# There's no grub2-mkrescue
sed -i 's/grub2-mkrescue/grub-mkrescue/2' ${srcdir}/$pkgname/grub2_theme_preview/cli.py
}

package() {
  cd "${srcdir}/$pkgname"
  make DESTDIR="$pkgdir" install
}