Advertisement
Goodevil95

re3-git PKGBUILD

May 13th, 2023
1,254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.82 KB | Software | 0 0
  1. pkgname=re3-git
  2. pkgver=1.0_r3169.310dd863
  3. pkgrel=1
  4. pkgdesc="Grand Theft Auto III reverse engineered"
  5. arch=(x86_64 aarch64)
  6. url=https://github.com/halpz/re3
  7. license=(custom:none)
  8. depends=(librw-git openal mpg123)
  9. makedepends=(cmake)
  10. install=re3.install
  11. source=(
  12.         git+https://github.com/halpz/re3.git
  13.         re3.desktop)
  14. md5sums=(
  15.         SKIP
  16.         SKIP)
  17. pkgver(){
  18.         cd re3
  19.         echo 1.0_r`git rev-list --count HEAD`.`git rev-parse --short HEAD`
  20. }
  21. build(){
  22.         cd re3
  23.         cmake -DRE3_VENDORED_LIBRW= .
  24.         make
  25. }
  26. package(){
  27.         cd re3
  28.         install src/re3 -Dt "$pkgdir"/usr/bin
  29.         install -D {res/images/logo,"$pkgdir"/usr/share/pixmaps/re3}.svg
  30.         install ../re3.desktop -Dt "$pkgdir"/usr/share/applications
  31.         cp -r gamefiles "$pkgdir"/usr/share/re3
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement