Date: Sunday, April 1, 2012 @ 18:24:23
Author: dreisner
Revision: 155342
archrelease: copy trunk to testing-any
Added:
mkinitcpio/repos/testing-any/
mkinitcpio/repos/testing-any/PKGBUILD
(from rev 155341, mkinitcpio/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: mkinitcpio/repos/testing-any/PKGBUILD (from rev 155341,
mkinitcpio/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2012-04-01 22:24:23 UTC (rev 155342)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Dave Reisner <[email protected]>
+# Maintainer: Thomas Bächler <[email protected]>
+
+pkgname=mkinitcpio
+pkgver=0.8.5
+pkgrel=2
+pkgdesc="Modular initramfs image creation utility"
+arch=('any')
+url="http://www.archlinux.org/"
+license=('GPL')
+depends=('mkinitcpio-busybox>=1.19.4-2' 'kmod>=3' 'util-linux>=2.21'
'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=('05aa3ad115dd9af04daff9657ae027c1')
+sha256sums=('52dbd32473619a559c812b11f24698e9f65e0ad88ae08f05421b93b69ae2ce40')
+
+package() {
+ # XXX: tom broke it (remove this with 0.9.0)
+ sed -i 's@/lib/udev/udevd@/usr/lib/udev/udevd@' "$pkgname-$pkgver"/init
+
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+
+ # compat symlink
+ install -dm755 "$pkgdir/sbin"
+ ln -s /usr/bin/mkinitcpio "$pkgdir/sbin/mkinitcpio"
+}
+