summaryrefslogtreecommitdiff
path: root/core/mkinitcpio/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/mkinitcpio/PKGBUILD')
-rw-r--r--core/mkinitcpio/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/core/mkinitcpio/PKGBUILD b/core/mkinitcpio/PKGBUILD
new file mode 100644
index 000000000..faed61e50
--- /dev/null
+++ b/core/mkinitcpio/PKGBUILD
@@ -0,0 +1,30 @@
+pkgname=mkinitcpio
+pkgver=0.7.5
+pkgrel=1
+pkgdesc="Modular initramfs image creation utility"
+arch=('mips64el')
+url="http://www.archlinux.org/"
+license=('GPL')
+depends=('mkinitcpio-busybox>=1.16.1-2' 'module-init-tools' 'util-linux>=2.19' 'libarchive' 'coreutils'
+ 'bash' 'findutils' 'sed' 'grep' 'filesystem>=2011.10-1' 'udev>=174-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')
+replaces=('mkinitrd' 'mkinitramfs' 'klibc' 'klibc-extras' 'klibc-kbd'
+ 'klibc-module-init-tools' 'klibc-udev')
+source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'patch.patch')
+backup=(etc/mkinitcpio.conf)
+sha256sums=('3210e27fe689a021996d902c117b9c49dd9463c4424a2b3e2c428a4e4f31bff9'
+ 'abf6bb9d692838cc2f97f12f0901f0209dbf6f437f9590accd26dbcfc48f1b16')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ patch install/base ../patch.patch
+
+ make DESTDIR="$pkgdir" install
+}
+sha256sums=('3210e27fe689a021996d902c117b9c49dd9463c4424a2b3e2c428a4e4f31bff9'
+ 'bb6517e0497cc43aea1287e43b0be2892b7af74add5eca3f3740b091f997729e')