Guest User

PKGBUILD

a guest
Oct 30th, 2020
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. # Maintainer: quellen <lodgerz@gmail.com>
  2.  
  3. pkgname=libretro-uae-git
  4. pkgver=1093.b79182f
  5. pkgrel=1
  6. pkgdesc="A port of the Commodore Amiga Emulator to libretro (WIP)"
  7. arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')
  8. url="https://github.com/libretro/libretro-uae"
  9. license=('GPL3')
  10. groups=('libretro')
  11. depends=('zlib' 'libretro-core-info')
  12. makedepends=('git')
  13.  
  14. _libname=puae_libretro
  15. _gitname=libretro-uae
  16. source=("git+https://github.com/libretro/${_gitname}.git" "linux.patch")
  17. sha256sums=('SKIP' '6d0e9ae0d7859ff1ea81b7279a583229b6d4bf887fa7b68266d9997268c9a575')
  18.  
  19. pkgver() {
  20. cd "${_gitname}"
  21. echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
  22. }
  23.  
  24. prepare() {
  25. cd "${srcdir}"
  26. patch --forward --strip=1 --input="linux.patch"
  27. }
  28.  
  29. build() {
  30. cd "${_gitname}"
  31. make
  32. }
  33.  
  34. package() {
  35. install -Dm644 "${_gitname}/${_libname}.so" "${pkgdir}/usr/lib/libretro/${_libname}.so"
  36. }
Add Comment
Please, Sign In to add comment