talimat 503 B

12345678910111213141516171819202122
  1. # Tanım: RISC-V sistem emülatörü
  2. # URL: https://bellard.org/tinyemu/
  3. # Paketçi: milisarge
  4. # Gerekler: sdl
  5. # Grup: sistem
  6. isim=tinyemu
  7. surum=2018_09_23
  8. devir=1
  9. kaynak=(https://bellard.org/tinyemu/tinyemu-${surum//_/-}.tar.gz
  10. )
  11. derle() {
  12. cd "$isim-${surum//_/-}"
  13. make -C $SRC/"$isim-${surum//_/-}"
  14. install -d "$PKG/usr/local/bin"
  15. make DESTDIR="$PKG" install
  16. mv "$PKG/usr/local/bin" "$PKG/usr/"
  17. rm -rf $PKG/usr/local
  18. install -Dm644 MIT-LICENSE.txt "$PKG/usr/share/licenses/$isim/LICENSE"
  19. }