PKGBUILD 662 B

12345678910111213141516171819202122232425262728
  1. # Maintainer: bzt <https://gitlab.com/bztsrc/easyboot/issues>
  2. # Contributor: Ramadan Ali (alicavus) <rot13: ezqa@ezqa.ny>
  3. pkgname=easyboot
  4. pkgver=1.0.0
  5. pkgrel=1
  6. pkgdesc="Dependency-free, all-in-one boot manager and bootable disk image creator."
  7. arch=("x86_64" "aarch64")
  8. url="https://gitlab.com/bztsrc/easyboot"
  9. license=("GPL-3.0-or-later")
  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 ebver easyboot.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. }