diff options
author | alive4ever | 2016-07-21 15:59:45 +0700 |
---|---|---|
committer | alive4ever | 2016-07-21 15:59:45 +0700 |
commit | eab2b257ade8d2f692e378b5ef1893faaf67422f (patch) | |
tree | edf05189cf2ea9a5ab5390077f2e7cd8d2566331 /PKGBUILD | |
download | aur-eab2b257ade8d2f692e378b5ef1893faaf67422f.tar.gz |
Initial commit
wimboot is a memory kernel loader, similar to memdisk. Unlike memdisk,
wimboot is designed specifially to work with wim images (such as
boot.wim and install.wim).
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cb5961152e27 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Alif <alive4ever at live.com> +pkgname=wimboot-git +pkgver=v2.5.2.r0.901fe95 +pkgrel=1 +pkgdesc="iPXE kernel to boot wim images from network for both UEFI and BIOS system" +arch=(any) +url="https://git.ipxe.org/wimboot.git" +license=('GPL') +makedepends=('git' 'pesign' 'lcab') +optdepends=("ipxe-git: iPXE network boot program" + "ipxe-netboot: Alternative iPXE network boot program, with Archlinux network install support") +install=$pkgname.install +source=('wimboot::git+https://git.ipxe.org/wimboot.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-git}" + printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" +} + +build() { + cd "$srcdir/${pkgname%-git}/src" + make +} + +package() { + cd "$srcdir/${pkgname%-git}" + install -Dm644 README.txt $pkgdir/usr/share/wimboot/README.txt + install -Dm644 LICENSE.txt $pkgdir/usr/share/licenses/wimboot/LICENSE.txt + cd "$srcdir/${pkgname%-git}/src" + for a in wimboot wimboot.x86_64 wimboot.x86_64.efi wimboot.i386 wimboot.i386.efi wimboot.cab ; do + install -Dm755 $a $pkgdir/usr/share/wimboot/$a + done +} |