PKGBUILD 656 B

12345678910111213141516171819202122232425262728
  1. # Maintainer: bzt <https://gitlab.com/bztsrc/simpleboot/issues>
  2. # Contributor: Ramadan Ali (alicavus) <rot13: ezqa@ezqa.ny>
  3. pkgname=simpleboot
  4. pkgver=1.0.0
  5. pkgrel=1
  6. pkgdesc="Dependency-free, all-in-one boot loader and bootable disk image creator."
  7. arch=("x86_64" "aarch64")
  8. url="https://gitlab.com/bztsrc/simpleboot"
  9. license=("MIT")
  10. makedepends=("clang")
  11. source=("${url}/-/archive/main/${pkgname}-main.tar.gz")
  12. b2sums=("SKIP")
  13. pkgver() {
  14. cd "${pkgname}-main/src"
  15. printf "%s" `grep -m 1 sbver simpleboot.c | cut -d '"' -f 2`
  16. }
  17. build() {
  18. cd "${pkgname}-main/src"
  19. make clean all
  20. }
  21. package() {
  22. cd "${pkgname}-main/src"
  23. DESTDIR=$pkgdir/ make install
  24. }