[arch-commits] Commit in mkinitcpio/repos (3 files)

Tom Gundersen tomegun at archlinux.org
Wed Feb 8 09:02:27 EST 2012


    Date: Wednesday, February 8, 2012 @ 09:02:27
  Author: tomegun
Revision: 149553

db-move: moved mkinitcpio from [staging] to [testing] (any)

Added:
  mkinitcpio/repos/testing-any/
  mkinitcpio/repos/testing-any/PKGBUILD
    (from rev 149550, mkinitcpio/repos/staging-any/PKGBUILD)
Deleted:
  mkinitcpio/repos/staging-any/

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

Copied: mkinitcpio/repos/testing-any/PKGBUILD (from rev 149550, mkinitcpio/repos/staging-any/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2012-02-08 14:02:27 UTC (rev 149553)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Maintainer: Thomas Bächler <thomas at archlinux.org>
+
+pkgname=mkinitcpio
+pkgver=0.8.2
+pkgrel=2
+pkgdesc="Modular initramfs image creation utility"
+arch=('any')
+url="http://www.archlinux.org/"
+license=('GPL')
+depends=('mkinitcpio-busybox>=1.16.1-2' 'kmod>=3' 'util-linux>=2.20.1-2' 'libarchive' 'coreutils'
+         'bash' 'findutils' 'sed' 'grep' 'filesystem>=2011.10-1' 'file' 'gzip')
+optdepends=('xz: Use lzma or xz compression for the initramfs image'
+            'bzip2: Use bzip2 compression for the initramfs image'
+            'lzop: Use lzo compression for the initramfs image'
+            'mkinitcpio-nfs-utils: Support for root filesystem on NFS')
+backup=('etc/mkinitcpio.conf')
+source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('2e0ac0c657ca7a78aa0583b3368c0e44')
+sha256sums=('9a951f9e2a158b65840f476c1b9e1e45c7b06383a90f182f76eab64bd3a398cb')
+
+package() {
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+
+  # compat symlink
+  install -dm755 "$pkgdir/sbin"
+  ln -s /usr/bin/mkinitcpio "$pkgdir/sbin/mkinitcpio"
+
+  # XXX: remove udev hooks -- they belong to the udev package
+  rm "$pkgdir"/lib/initcpio/{hooks,install}/udev
+}
+



More information about the arch-commits mailing list