gnu-efi 3.0.17-1
This commit is contained in:
commit
165d71585b
39
PKGBUILD
Normal file
39
PKGBUILD
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||||||
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||||||
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||||
|
# then please put 'unknown'.
|
||||||
|
|
||||||
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||||
|
pkgname=gnu-efi
|
||||||
|
pkgver=3.0.17
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Develop EFI applications using the GNU toolchain and the EFI development environment"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://sourceforge.net/projects/gnu-efi/"
|
||||||
|
license=('BSD')
|
||||||
|
options=('!lto' '!strip')
|
||||||
|
source=(https://download.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
|
||||||
|
sha256sums=(7807e903349343a7a142ebb934703a2872235e89688cf586c032b0a1087bcaf4)
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
sed -e 's/-Werror//g' -i Make.defaults
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
CFLAGS="-O2"
|
||||||
|
|
||||||
|
LDFLAGS="${LDFLAGS//-Wl/}"
|
||||||
|
LDFLAGS="${LDFLAGS//,/ }"
|
||||||
|
make
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
make INSTALLROOT=${pkgdir} PREFIX=/usr LIBDIR=/usr/lib64 install
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user