Guest User

pkgbuild

a guest
Feb 11th, 2021
82
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=zfsbootmenu
  2. pkgver=1.8.1
  3. pkgrel=1
  4. epoch=
  5. pkgdesc="ZFS Bootloader for root-on-ZFS systems with support for snapshots and native full disk encryption"
  6. arch=(x86_64)
  7. url="https://github.com/zbm-dev/zfsbootmenu"
  8. license=('MIT')
  9. groups=()
  10. depends=(
  11. 'fzf'
  12. 'kexec-tools'
  13. 'dracut'
  14. 'zfs-linux'
  15. )
  16. makedepends=()
  17. checkdepends=()
  18. optdepends=()
  19. provides=(zfsbootmenu)
  20. conflicts=()
  21. replaces=()
  22. backup=()
  23. options=()
  24. install=
  25. changelog=
  26. source=("https://github.com/zbm-dev/$pkgname/archive/v$pkgver.tar.gz")
  27. noextract=()
  28. md5sums=()
  29. validpgpkeys=()
  30.  
  31. #prepare() {
  32. # cd "$pkgname-$pkgver"
  33. # patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
  34. #}
  35.  
  36. #build() {
  37. # cd "$pkgname-$pkgver"
  38. # ./configure --prefix=/usr
  39. # make
  40. #}
  41.  
  42. #check() {
  43. # cd "$pkgname-$pkgver"
  44. # make -k check
  45. #}
  46.  
  47. package() {
  48. cd "$pkgname-$pkgver"
  49. make DESTDIR="$pkgdir/" install
  50. }
RAW Paste Data