[arch-commits] Commit in dracut/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Giancarlo Razzolini grazzolini at archlinux.org
Tue Mar 30 15:47:36 UTC 2021


    Date: Tuesday, March 30, 2021 @ 15:47:36
  Author: grazzolini
Revision: 411287

archrelease: copy trunk to testing-x86_64

Added:
  dracut/repos/testing-x86_64/
  dracut/repos/testing-x86_64/PKGBUILD
    (from rev 411286, dracut/trunk/PKGBUILD)

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Copied: dracut/repos/testing-x86_64/PKGBUILD (from rev 411286, dracut/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-03-30 15:47:36 UTC (rev 411287)
@@ -0,0 +1,45 @@
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+pkgname=dracut
+pkgver=053
+pkgrel=1
+pkgdesc="An event driven initramfs infrastructure"
+arch=('x86_64')
+url="https://dracut.wiki.kernel.org"
+license=('GPL')
+depends=('bash' 'coreutils' 'cpio' 'filesystem' 'findutils' 'grep' 'gzip'
+         'kmod' 'pkgconf' 'procps-ng' 'sed' 'systemd' 'util-linux' 'xz')
+makedepends=('asciidoc' 'bash-completion' 'git')
+optdepends=('binutils: --uefi option support'
+            'elfutils: strip binaries to reduce initramfs size'
+            'hardlink: --hardlink option support'
+            'multipath-tools: dmraid dracut module support'
+            'pigz: faster gzip compression'
+            'sbsigntools: uefi_secureboot_cert/key configuration option support')
+provides=('initramfs')
+backup=('etc/dracut.conf')
+source=(https://mirrors.edge.kernel.org/pub/linux/utils/boot/dracut/dracut-${pkgver}.tar{.gz,.sign})
+sha512sums=('5c212701e3f716e597b7f2ee0af0f93e4e1edeb62d0628350e39991bd1992329e2275c8fddd378cb828032611ee7ca2e9fc180cbc04808032d35f6bd44e706e6'
+            'SKIP')
+validpgpkeys=(
+  '7F3D64824AC0B6B8009E50504BC0896FB5693595' # Harald Hoyer <harald at redhat.com>
+)
+
+build() {
+  local prefix=/usr sysconfdir=/etc
+  
+  cd "$srcdir/${pkgname}-${pkgver}"
+
+  ./configure \
+    --sysconfdir=${sysconfdir} \
+    --prefix=${prefix} \
+    --libdir=${prefix}/lib \
+    --systemdsystemunitdir=${prefix}/lib/systemd/system \
+    --bashcompletiondir=$(pkg-config --variable=completionsdir bash-completion)
+  make
+}
+
+package() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+
+  DESTDIR="$pkgdir" make install
+}



More information about the arch-commits mailing list