[testing] -> [core] 'efibootmgr-18-1' move

master
artoo 5 months ago
parent 679c79693f
commit 49fa542b47
Signed by: artoo
GPG Key ID: 3292CD0BB0DB310B
  1. 48
      x86_64/core/PKGBUILD
  2. 32
      x86_64/testing/PKGBUILD

@ -1,44 +1,32 @@
# Maintainer: David Runge <dvzrv@archlinux.org>
# Maintainer: artoo <artoo@artixlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Murtuza Akhtari <inxsible at gmail dot com>
# Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
# upstream only signs commits
_commit=e067160ecef8208e1944002e5d50b275733211fb # 17
pkgname=efibootmgr
pkgver=17
pkgrel=2
_commit=712aeb81311de28a3fcfea7465dcb93743f07a53 # refs/tags/18
pkgver=18
pkgrel=1
pkgdesc="Linux user-space application to modify the EFI Boot Manager"
arch=('x86_64')
arch=(x86_64)
url="https://github.com/rhboot/efibootmgr"
license=('GPL2')
depends=('glibc' 'popt')
makedepends=('efivar' 'git')
source=("${pkgname}::git+https://github.com/rhboot/efibootmgr#tag=${pkgver}?signed")
license=(GPL2)
depends=(glibc popt)
makedepends=(efivar git)
source=($pkgname::git+https://github.com/rhboot/efibootmgr#tag=$_commit?signed)
sha512sums=('SKIP')
validpgpkeys=('B00B48BC731AA8840FED9FB0EED266B70F4FEF10') # Peter Jones <pjones@redhat.com>
prepare() {
mv -v "${pkgname}" "${pkgname}-${pkgver}"
cd "${pkgname}-${pkgver}"
# removing hotfix function declaration:
# https://github.com/rhboot/efibootmgr/issues/128
sed -e '/extern int efi_set_verbose/d' -i "src/${pkgname}.c"
}
validpgpkeys=(
'B00B48BC731AA8840FED9FB0EED266B70F4FEF10' # Peter Jones <pjones@redhat.com>
'039A9CEA19DE9508C36875AA2532F9176A95A442' # Robbie Harwood (work) <rharwood@redhat.com>
)
build() {
cd "${pkgname}-${pkgver}"
make libdir='/usr/lib' sbindir='/usr/bin' EFIDIR='artix'
make libdir=/usr/lib sbindir=/usr/bin EFIDIR=artix -C $pkgname
}
package() {
depends+=('libefiboot.so' 'libefivar.so')
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" \
libdir='/usr/lib' \
sbindir='/usr/bin' \
EFIDIR='artix' \
install
install -vDm 644 {AUTHORS,README,README.md,TODO} \
-t "${pkgdir}/usr/share/doc/${pkgname}"
depends+=(libefiboot.so libefivar.so)
make DESTDIR="$pkgdir" libdir=/usr/lib sbindir=/usr/bin EFIDIR=artix install -C $pkgname
install -vDm 644 $pkgname/{AUTHORS,README,README.md,TODO} -t "$pkgdir/usr/share/doc/$pkgname/"
}

@ -1,32 +0,0 @@
# Maintainer: artoo <artoo@artixlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Murtuza Akhtari <inxsible at gmail dot com>
# Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
pkgname=efibootmgr
_commit=712aeb81311de28a3fcfea7465dcb93743f07a53 # refs/tags/18
pkgver=18
pkgrel=1
pkgdesc="Linux user-space application to modify the EFI Boot Manager"
arch=(x86_64)
url="https://github.com/rhboot/efibootmgr"
license=(GPL2)
depends=(glibc popt)
makedepends=(efivar git)
source=($pkgname::git+https://github.com/rhboot/efibootmgr#tag=$_commit?signed)
sha512sums=('SKIP')
validpgpkeys=(
'B00B48BC731AA8840FED9FB0EED266B70F4FEF10' # Peter Jones <pjones@redhat.com>
'039A9CEA19DE9508C36875AA2532F9176A95A442' # Robbie Harwood (work) <rharwood@redhat.com>
)
build() {
make libdir=/usr/lib sbindir=/usr/bin EFIDIR=artix -C $pkgname
}
package() {
depends+=(libefiboot.so libefivar.so)
make DESTDIR="$pkgdir" libdir=/usr/lib sbindir=/usr/bin EFIDIR=artix install -C $pkgname
install -vDm 644 $pkgname/{AUTHORS,README,README.md,TODO} -t "$pkgdir/usr/share/doc/$pkgname/"
}
Loading…
Cancel
Save