core/mkinitcpio/PKGBUILD

36 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
#
2012-09-09 12:17:16 +08:00
# maintainer: abveritas@chakra-project.org
2010-07-01 03:56:56 +08:00
2010-03-13 23:25:19 +08:00
pkgname=mkinitcpio
pkgver=0.11.0
pkgrel=4
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')
2013-02-01 23:21:20 +08:00
source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig} init.diff)
2012-09-09 12:17:16 +08:00
install=mkinitcpio.install
sha256sums=('4d65ecb827b9c07955409cdfeab3b64ec2536306961f6050e1a4fbe7ea79d150'
2013-02-01 23:21:20 +08:00
'275afca3a4ac0cc5555b5a7d4b89c71ba14ea4a9fbf2dfce63eab6d6d70c831a'
2013-04-14 01:16:49 +08:00
'078737f3b4d22ef905661e9c0e11f4704789d92cac3b25b414ef71f8cc7ff80e')
2013-02-01 23:21:20 +08:00
build() {
cd "$pkgname-$pkgver"
patch -p0 -i "${srcdir}"/init.diff
}
2010-03-13 23:25:19 +08:00
package() {
2013-02-01 23:21:20 +08:00
make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
}