[arch-commits] Commit in refind/repos/extra-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Wed Apr 22 17:18:01 UTC 2020
Date: Wednesday, April 22, 2020 @ 17:17:59
Author: dvzrv
Revision: 380725
archrelease: copy trunk to extra-any
Added:
refind/repos/extra-any/PKGBUILD
(from rev 380724, refind/trunk/PKGBUILD)
Deleted:
refind/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 179 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 91 insertions(+), 88 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-22 17:17:13 UTC (rev 380724)
+++ PKGBUILD 2020-04-22 17:17:59 UTC (rev 380725)
@@ -1,88 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=refind
-pkgver=0.12.0
-pkgrel=3
-pkgdesc="An EFI boot manager"
-arch=('any')
-url="https://www.rodsbooks.com/refind/"
-license=('BSD' 'CCPL' 'FDL1.3' 'GPL2' 'GPL3' 'LGPL3')
-depends=('bash' 'dosfstools' 'efibootmgr' 'which')
-makedepends=('gnu-efi-libs')
-optdepends=('gptfdisk: for finding non-vfat ESP with refind-install'
- 'imagemagick: for refind-mkfont'
- 'openssl: for generating local certificates with refind-install'
- 'python: for refind-mkdefault'
- 'sudo: for privilege elevation in refind-install and refind-mkdefault'
- 'sbsigntools: for EFI binary signing with refind-install')
-conflicts=('refind-efi')
-replaces=('refind-efi')
-# the drivers don't build with many jobs
-options=(!makeflags)
-source=("https://sourceforge.net/projects/refind/files/${pkgver}/${pkgname}-src-${pkgver}.tar.gz")
-sha512sums=('3ade9642d7acf31097daa5308acb96a9fa3371314073b5a09601a886fc30444752efa08ed9fb35e421efb0b4eb9efbccd7b5c9bd6b3b9ed4af74c58f22a74729')
-_arch='x64'
-
-prepare() {
- cd "$pkgname-$pkgver"
- # removing the path prefix from the css reference, so that the css can live
- # in the same directory
- sed -e 's|../Styles/||g' -i "docs/${pkgname}/"*.html
- # hardcode RefindDir, so that refind-install can find refind_x64.efi
- sed -e 's|RefindDir=\"\$ThisDir/refind\"|RefindDir="/usr/share/refind/"|g' \
- -i refind-install
-}
-
-build() {
- cd "$pkgname-$pkgver"
- make
- make gptsync
- make fs
-}
-
-package() {
- cd "$pkgname-$pkgver"
- # the install target calls refind-install, therefore we install things
- # manually
-
- # efi binaries
- install -vDm 644 refind/*.efi -t "${pkgdir}/usr/share/${pkgname}"
- install -vDm 644 drivers_*/*.efi \
- -t "${pkgdir}/usr/share/refind/drivers_${_arch}"
- install -vDm 644 gptsync/*.efi \
- -t "${pkgdir}/usr/share/${pkgname}/tools_${_arch}"
- # sample config
- install -vDm 644 "${pkgname}.conf-sample" -t "${pkgdir}/usr/share/${pkgname}"
- # keys
- install -vDm 644 keys/*{cer,crt} -t "${pkgdir}/usr/share/${pkgname}/keys"
- # keysdir
- install -vdm 640 "${pkgdir}/etc/refind.d/keys"
- # icons
- install -vDm 644 icons/*.png \
- -t "${pkgdir}/usr/share/${pkgname}/icons"
- install -vDm 644 icons/svg/*.svg \
- -t "${pkgdir}/usr/share/${pkgname}/icons/svg"
- # scripts
- install -vDm 755 {refind-{install,mkdefault},mkrlconf,mvrefind} \
- -t "${pkgdir}/usr/bin"
- install -vDm 755 fonts/mkfont.sh "${pkgdir}/usr/bin/${pkgname}-mkfont"
- # man pages
- install -vDm 644 docs/man/*.8 -t "${pkgdir}/usr/share/man/man8"
- # docs
- install -vDm 644 {CREDITS,NEWS,README}.txt \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -vDm 755 fonts/README.txt \
- "${pkgdir}/usr/share/doc/${pkgname}/README.${pkgname}-mkfont.txt"
- install -vDm 755 icons/README \
- "${pkgdir}/usr/share/doc/${pkgname}/README.icons.txt"
- install -vDm 755 keys/README.txt \
- "${pkgdir}/usr/share/doc/${pkgname}/README.keys.txt"
- install -vDm 644 "docs/${pkgname}/"*.{html,png,svg,txt} \
- -t "${pkgdir}/usr/share/doc/${pkgname}/html"
- install -vDm 644 docs/Styles/*.css \
- -t "${pkgdir}/usr/share/doc/${pkgname}/html"
- install -vDm 644 images/${pkgname}-banner.{png,svg} \
- -t "${pkgdir}/usr/share/doc/${pkgname}/html"
- # license
- install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
Copied: refind/repos/extra-any/PKGBUILD (from rev 380724, refind/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-22 17:17:59 UTC (rev 380725)
@@ -0,0 +1,91 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=refind
+pkgver=0.12.0
+pkgrel=4
+pkgdesc="An EFI boot manager"
+arch=('any')
+url="https://www.rodsbooks.com/refind/"
+license=('BSD' 'CCPL' 'FDL1.3' 'GPL2' 'GPL3' 'LGPL3')
+depends=('bash' 'dosfstools' 'efibootmgr' 'which')
+makedepends=('gnu-efi-libs')
+optdepends=('gptfdisk: for finding non-vfat ESP with refind-install'
+ 'imagemagick: for refind-mkfont'
+ 'openssl: for generating local certificates with refind-install'
+ 'python: for refind-mkdefault'
+ 'sudo: for privilege elevation in refind-install and refind-mkdefault'
+ 'sbsigntools: for EFI binary signing with refind-install')
+conflicts=('refind-efi')
+replaces=('refind-efi')
+# the drivers don't build with many jobs
+options=(!makeflags)
+source=("https://sourceforge.net/projects/refind/files/${pkgver}/${pkgname}-src-${pkgver}.tar.gz")
+sha512sums=('3ade9642d7acf31097daa5308acb96a9fa3371314073b5a09601a886fc30444752efa08ed9fb35e421efb0b4eb9efbccd7b5c9bd6b3b9ed4af74c58f22a74729')
+_arch='x64'
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ # removing the path prefix from the css reference, so that the css can live
+ # in the same directory
+ sed -e 's|../Styles/||g' -i "docs/${pkgname}/"*.html
+ # hardcode RefindDir, so that refind-install can find refind_x64.efi
+ sed -e 's|RefindDir=\"\$ThisDir/refind\"|RefindDir="/usr/share/refind/"|g' \
+ -i refind-install
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ make
+ make gptsync
+ make fs
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ # the install target calls refind-install, therefore we install things
+ # manually
+
+ # efi binaries
+ install -vDm 644 refind/*.efi -t "${pkgdir}/usr/share/${pkgname}"
+ install -vDm 644 drivers_*/*.efi \
+ -t "${pkgdir}/usr/share/refind/drivers_${_arch}"
+ install -vDm 644 gptsync/*.efi \
+ -t "${pkgdir}/usr/share/${pkgname}/tools_${_arch}"
+ # sample config
+ install -vDm 644 "${pkgname}.conf-sample" -t "${pkgdir}/usr/share/${pkgname}"
+ # keys
+ install -vDm 644 keys/*{cer,crt} -t "${pkgdir}/usr/share/${pkgname}/keys"
+ # keysdir
+ install -vdm 640 "${pkgdir}/etc/refind.d/keys"
+ # fonts
+ install -vDm 755 fonts/*.png \
+ -t "${pkgdir}/usr/share/${pkgname}/fonts"
+ # icons
+ install -vDm 644 icons/*.png \
+ -t "${pkgdir}/usr/share/${pkgname}/icons"
+ install -vDm 644 icons/svg/*.svg \
+ -t "${pkgdir}/usr/share/${pkgname}/icons/svg"
+ # scripts
+ install -vDm 755 {refind-{install,mkdefault},mkrlconf,mvrefind} \
+ -t "${pkgdir}/usr/bin"
+ install -vDm 755 fonts/mkfont.sh "${pkgdir}/usr/bin/${pkgname}-mkfont"
+ # man pages
+ install -vDm 644 docs/man/*.8 -t "${pkgdir}/usr/share/man/man8"
+ # docs
+ install -vDm 644 {CREDITS,NEWS,README}.txt \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -vDm 755 fonts/README.txt \
+ "${pkgdir}/usr/share/doc/${pkgname}/README.${pkgname}-mkfont.txt"
+ install -vDm 755 icons/README \
+ "${pkgdir}/usr/share/doc/${pkgname}/README.icons.txt"
+ install -vDm 755 keys/README.txt \
+ "${pkgdir}/usr/share/doc/${pkgname}/README.keys.txt"
+ install -vDm 644 "docs/${pkgname}/"*.{html,png,svg,txt} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/html"
+ install -vDm 644 docs/Styles/*.css \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/html"
+ install -vDm 644 images/${pkgname}-banner.{png,svg} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/html"
+ # license
+ install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
More information about the arch-commits
mailing list