[arch-commits] Commit in (dracut dracut/repos dracut/trunk dracut/trunk/PKGBUILD)
Giancarlo Razzolini
grazzolini at archlinux.org
Wed May 15 18:57:22 UTC 2019
Date: Wednesday, May 15, 2019 @ 18:57:21
Author: grazzolini
Revision: 353405
newpkg: dracut
Added:
dracut/
dracut/repos/
dracut/trunk/
dracut/trunk/PKGBUILD
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Added: dracut/trunk/PKGBUILD
===================================================================
--- dracut/trunk/PKGBUILD (rev 0)
+++ dracut/trunk/PKGBUILD 2019-05-15 18:57:21 UTC (rev 353405)
@@ -0,0 +1,43 @@
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+pkgname=dracut
+pkgver=049
+# tag commit of the pkgver
+_tag_blob='1a3447fa9bbf0954d62025957362536a482f1f79'
+pkgrel=1
+pkgdesc="An event driven initramfs infrastructure"
+arch=('x86_64')
+url="https://dracut.wiki.kernel.org"
+license=('GPL')
+groups=()
+depends=('bash' 'coreutils' 'cpio' 'filesystem' 'findutils' 'grep' 'gzip'
+ 'kmod' 'procps-ng' 'sed' 'systemd' 'util-linux' 'xz')
+makedepends=('asciidoc' 'bash-completion' 'gcc' 'git' 'pkgconf')
+provides=("${pkgname}")
+# do not conflict on mkinitcpio yet
+conflicts=("${pkgname}")
+backup=('etc/dracut.conf')
+source=("git+https://github.com/dracutdevs/dracut#tag=${_tag_blob}?signed")
+md5sums=('SKIP')
+validpgpkeys=(
+ '4C96E1500F9421CCF82D5DCA034EB370014DF270' # Harald Hoyer <harald at redhat.com>
+)
+
+build() {
+ local prefix=/usr sysconfdir=/etc
+
+ cd "$srcdir/${pkgname}"
+
+ ./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}"
+
+ DESTDIR="$pkgdir" make install
+}
More information about the arch-commits
mailing list