core/mkinitcpio/PKGBUILD

34 lines
1.2 KiB
Bash
Raw Normal View History

2010-07-01 03:56:56 +08:00
#
2012-09-09 12:17:16 +08:00
# Core Packages for Chakra, part of chakra-project.org
2010-07-01 03:56:56 +08:00
#
2010-03-13 23:25:19 +08:00
pkgname=mkinitcpio
2014-02-27 06:01:17 +08:00
pkgver=16
pkgrel=1
2010-03-13 23:25:19 +08:00
pkgdesc="Modular initramfs image creation utility"
arch=('x86_64')
2010-03-13 23:25:19 +08:00
url="http://www.archlinux.org/"
license=('GPL')
depends=('awk' 'mkinitcpio-busybox>=1.19.4-2' 'kmod' 'util-linux>=2.21' 'libarchive=3.1.2' 'coreutils'
2012-09-09 12:17:16 +08:00
'bash' 'findutils' 'grep' 'filesystem>=2011.10-1' 'file' 'gzip' 'systemd')
2011-05-25 03:49:29 +08:00
optdepends=('xz: Use lzma or xz compression for the initramfs image'
'bzip2: Use bzip2 compression for the initramfs image'
2011-07-26 02:50:16 +08:00
'lzop: Use lzo compression for the initramfs image'
'mkinitcpio-nfs-utils: Support for root filesystem on NFS')
backup=('etc/mkinitcpio.conf')
2014-02-27 06:01:17 +08:00
source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}
0001-Add-l-flag-when-using-lz4-compression.patch)
2012-09-09 12:17:16 +08:00
install=mkinitcpio.install
2013-02-01 23:21:20 +08:00
2014-02-27 06:01:17 +08:00
sha256sums=('10821e533eb1ca51a9d3c1d06d8999c08a6151910a9a6029a45ff1638e9228a2'
'SKIP'
'e8dd2d3fb29e6c41bed53be2f8659a7e5daeae3c9495d8527b6b938787c54703')
prepare() {
patch -d "$pkgname-$pkgver" -Np1 <"$srcdir/0001-Add-l-flag-when-using-lz4-compression.patch"
}
2010-03-13 23:25:19 +08:00
package() {
2014-02-27 06:01:17 +08:00
make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
}