archrelease: copy trunk to extra-x86_64
[arch-packages.git] / gummiboot / trunk / PKGBUILD
blob4fe04d92303732daf3c2a805f98acfe7a0a0a502
1 # Maintainer: Tom Gundersen <teg@jklm.no>
2 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
3 # Contributor: Keshav P R <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
4 # Contributor:  Mantas Mikulėnas <grawity@gmail.com>
6 pkgname=gummiboot
7 pkgver=48
8 pkgrel=1
9 pkgdesc="Simple UEFI Boot Manager"
10 url="http://freedesktop.org/wiki/Software/gummiboot"
11 arch=('x86_64')
12 license=('LGPL2.1')
13 makedepends=('gnu-efi-libs' 'docbook-xsl' 'git')
14 depends=('util-linux')
15 conflicts=('gummiboot-efi')
16 provides=('gummiboot-efi')
17 replaces=('gummiboot-efi')
18 options=('!strip' '!makeflags')
19 source=("git://anongit.freedesktop.org/$pkgname#tag=$pkgver"
20         'loader.conf'
21         'arch.conf'
22         'splash-arch.bmp')
23 install=gummiboot.install
24 md5sums=('SKIP'
25          '6ea803e5179d623716e3be0b636de658'
26          '82bda9612e3a361a74cf8de2a0134b15'
27          '1e2f9a8b0fa32022bf0a8f39123e5f4e')
29 build() {
30         cd ${srcdir}/${pkgname}
32         ./autogen.sh
33         ./configure --sysconfdir=/etc  --with-efi-ldsdir=/usr/lib --libexecdir=/usr/lib --libdir=/usr/lib
34         
35         make
38 package() {
39         ## Install gummiboot example configuration files (can go away with systemd's kernel-install)
40         install -D -m0644 "${srcdir}/loader.conf" "${pkgdir}/usr/lib/gummiboot/loader/loader.conf"
41         install -D -m0644 "${srcdir}/arch.conf" "${pkgdir}/usr/lib/gummiboot/loader/entries/arch.conf"
43         ## ship an Arch Linux boot splash (still has to be dropped in manually to take effect)
44         install -D -m0644 "${srcdir}/splash-arch.bmp" "${pkgdir}/usr/lib/gummiboot/splash-arch.bmp"
46         cd ${srcdir}/${pkgname}
48         make DESTDIR="${pkgdir}" install