From 93a887cdb3d9ad11ec6c1990e36c9b08139039bb Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 20 Jul 2016 11:53:51 +0000 Subject: main/gummiboot: move from testing --- main/gummiboot/APKBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++ testing/gummiboot/APKBUILD | 48 ---------------------------------------------- 2 files changed, 48 insertions(+), 48 deletions(-) create mode 100644 main/gummiboot/APKBUILD delete mode 100644 testing/gummiboot/APKBUILD diff --git a/main/gummiboot/APKBUILD b/main/gummiboot/APKBUILD new file mode 100644 index 0000000000..752fbfeef9 --- /dev/null +++ b/main/gummiboot/APKBUILD @@ -0,0 +1,48 @@ +# Maintainer: Natanael Copa +pkgname=gummiboot +pkgver=48.1 +pkgrel=0 +pkgdesc="Simple EFI Boot Manager" +url="http://freedesktop.org/wiki/Software/gummiboot" +arch="x86 x86_64" +license="LGPLv2+" +depends="" +depends_dev="util-linux-dev" +makedepends="$depends_dev gnu-efi-dev autoconf automake docbook-xsl libxslt" +install="" +subpackages="$pkgname-doc" +#source="http://cgit.freedesktop.org/gummiboot/snapshot/gummiboot-$pkgver.tar.gz" +source="http://dev.alpinelinux.org/archive/gummiboot/gummiboot-$pkgver.tar.gz" + +_builddir="$srcdir"/gummiboot-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + if ! [ -f ./configure ]; then + ./autogen.sh + fi +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 + make EFI_CFLAGS="$CFLAGS -std=gnu89" +} + +package() { + cd "$_builddir" + make install DESTDIR="$pkgdir" || return 1 +} + +md5sums="0cc22c57505e243eb8115abe82d174a4 gummiboot-48.1.tar.gz" +sha256sums="2b649a6eb22007cd34bb355ba4ca6c1a8058e115c13048985f09a0f11f3d5295 gummiboot-48.1.tar.gz" +sha512sums="a536db10ee384fa2cd38d22bd43f87215501c38471612a1d30986748d645d970e67b3f3d38fc9d6b53fe8532ec18283690f88d77b056dd737db5efb50bf63293 gummiboot-48.1.tar.gz" diff --git a/testing/gummiboot/APKBUILD b/testing/gummiboot/APKBUILD deleted file mode 100644 index 752fbfeef9..0000000000 --- a/testing/gummiboot/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=gummiboot -pkgver=48.1 -pkgrel=0 -pkgdesc="Simple EFI Boot Manager" -url="http://freedesktop.org/wiki/Software/gummiboot" -arch="x86 x86_64" -license="LGPLv2+" -depends="" -depends_dev="util-linux-dev" -makedepends="$depends_dev gnu-efi-dev autoconf automake docbook-xsl libxslt" -install="" -subpackages="$pkgname-doc" -#source="http://cgit.freedesktop.org/gummiboot/snapshot/gummiboot-$pkgver.tar.gz" -source="http://dev.alpinelinux.org/archive/gummiboot/gummiboot-$pkgver.tar.gz" - -_builddir="$srcdir"/gummiboot-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - if ! [ -f ./configure ]; then - ./autogen.sh - fi -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - || return 1 - make EFI_CFLAGS="$CFLAGS -std=gnu89" -} - -package() { - cd "$_builddir" - make install DESTDIR="$pkgdir" || return 1 -} - -md5sums="0cc22c57505e243eb8115abe82d174a4 gummiboot-48.1.tar.gz" -sha256sums="2b649a6eb22007cd34bb355ba4ca6c1a8058e115c13048985f09a0f11f3d5295 gummiboot-48.1.tar.gz" -sha512sums="a536db10ee384fa2cd38d22bd43f87215501c38471612a1d30986748d645d970e67b3f3d38fc9d6b53fe8532ec18283690f88d77b056dd737db5efb50bf63293 gummiboot-48.1.tar.gz" -- cgit v1.2.3