summaryrefslogtreecommitdiff
path: root/core/mkinitcpio/PKGBUILD
blob: faed61e500a97de62d418996b8c19ab4d9b25e0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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')