PKGBUILD 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # Maintainer (Arch): Giancarlo Razzolini <grazzolini@archlinux.org>
  2. # Maintainer (Arch): Dave Reisner <dreisner@archlinux.org>
  3. # Maintainer (Arch): Thomas Bächler <thomas@archlinux.org>
  4. # Maintainer: David P. <megver83@parabola.nu>
  5. pkgname=mkinitcpio
  6. pkgver=30
  7. pkgrel=1
  8. pkgrel+=.nonsystemd1
  9. pkgdesc="Modular initramfs image creation utility"
  10. arch=('any')
  11. url="https://projects.archlinux.org/mkinitcpio.git/"
  12. license=('GPL')
  13. makedepends=('asciidoc')
  14. depends=('awk' 'mkinitcpio-busybox>=1.19.4-2' 'kmod' 'util-linux>=2.23' 'libarchive' 'coreutils'
  15. 'bash' 'diffutils' 'findutils' 'grep' 'filesystem>=2011.10-1' 'zstd' 'udev')
  16. optdepends=('gzip: Use gzip compression for the initramfs image'
  17. 'xz: Use lzma or xz compression for the initramfs image'
  18. 'bzip2: Use bzip2 compression for the initramfs image'
  19. 'lzop: Use lzo compression for the initramfs image'
  20. 'lz4: Use lz4 compression for the initramfs image'
  21. 'mkinitcpio-nfs-utils: Support for root filesystem on NFS')
  22. provides=('initramfs')
  23. backup=('etc/mkinitcpio.conf')
  24. source=("https://sources.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}
  25. nosystemd.patch)
  26. install=mkinitcpio.install
  27. sha512sums=('ef43a8ddc01697fa43bede4eebad3271bbc89efa57ba7e4e9f321e8174ff2af74d857b308c5c0f37b42a91906c91c1b022f9a651c70d5d3e9dfc8dc441a60ee4'
  28. 'SKIP'
  29. 'f1ad7792b3b42397c2645e834d4b6c6a89122060455954d1ab56a71c673c3b8a8fdbbd6d722d30195211672b9075d09ac07ce6fb5d9723f56ce540709ebe4665')
  30. b2sums=('2001f9ac12bfa7369ad32842956cd21b2a786cd28133b6d3256e4aa77210c78ec6cac8a710ff8c2feb5a4797c1a33ce8c8c7dfabd84d7927c08bf8377e330300'
  31. 'SKIP'
  32. '92e1969572e0022bd257f44314045f57db47821d99a40ea1290749967b50ead1cb11adaa9b79f4286fbf20a94173e0ba7f2d4f88208e31d7a03a8de4ea014396')
  33. validpgpkeys=('ECCAC84C1BA08A6CC8E63FBBF22FB1D78A77AEAB' # Giancarlo Razzolini
  34. '86CFFCA918CF3AF47147588051E8B148A9999C34') # Evangelos Foutras
  35. prepare() {
  36. cd $pkgname-$pkgver
  37. patch -Np1 -i ../nosystemd.patch
  38. }
  39. check() {
  40. make -C "$pkgname-$pkgver" check
  41. }
  42. package() {
  43. make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
  44. }