summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8afda495379445485a5e3ce8c472de077c2f9cf6 (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
# Maintainer: Maurice Zhou <ja at apvc punkt uk>

pkgname=bieaz
pkgver=0.1.2
pkgrel=1
pkgdesc="boot environment manager for ZFS"
arch=(any)
url="https://gitlab.com/m_zhou/bieaz"
license=('GPL')
depends=('coreutils' 'awk' 'sed' 'grep' 'zfs-utils' 'sh')
optdepends=('grub: select boot environment at boot')
source=(
	"$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz"
	"0000-10_linux-detect-archlinux-initramfs.patch"
)
package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
}
prepare() {
	cd "${srcdir}/$pkgname-$pkgver/"
	echo "Patch GRUB detection of Arch Linux initramfs/fallback..."
	patch -Np1 -i "${srcdir}/0000-10_linux-detect-archlinux-initramfs.patch"
}
md5sums=('ef85ea278e210d392997ea53f1b5e390'
         'ef173ee9b642c5f51b1b5a3e3138f1c5')