[arch-commits] Commit in dracut/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Giancarlo Razzolini
grazzolini at archlinux.org
Thu Apr 16 15:53:39 UTC 2020
Date: Thursday, April 16, 2020 @ 15:53:37
Author: grazzolini
Revision: 380434
archrelease: copy trunk to testing-x86_64
Added:
dracut/repos/testing-x86_64/
dracut/repos/testing-x86_64/PKGBUILD
(from rev 380433, dracut/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: dracut/repos/testing-x86_64/PKGBUILD (from rev 380433, dracut/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-04-16 15:53:37 UTC (rev 380434)
@@ -0,0 +1,45 @@
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+pkgname=dracut
+pkgver=050
+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-050.tar{.gz,.sign})
+sha512sums=('41ab9e089b91f8cd037dc545c164bbd63fe470bc5475d887f98d291ed5da24876b4cdfc4ae259151e52bfdcb599dce87c0b19d753c97cb4a25b664d8f5b39487'
+ '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