Advertisement
browniesrgut

Untitled

Dec 11th, 2019
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Martin C. Doege <mdoege at compuserve dot com>
  2. # Contributor: quasi <quasi@aur.archlinux.org>
  3.  
  4. # Modified by Browniesrgut
  5.  
  6. _name=protracker
  7. pkgname=protracker-git
  8. pkgver=e537ab6
  9. pkgrel=1
  10. epoch=1
  11. pkgdesc="Rewrite of ProTracker v2.3D (Amiga)"
  12. arch=('i686' 'x86_64')
  13. url="https://16-bits.org/pt2.php"
  14. license=("PD")
  15. makedepends=('git')
  16. depends=('sdl2')
  17.  
  18. replaces="protracker-svn"
  19.  
  20. #source=($pkgname::svn://svn.code.sf.net/p/protracker/code/trunk
  21.  
  22. source=("${_name}::git://github.com/8bitbubsy/pt2-clone.git"
  23. protracker.png
  24. protracker.desktop
  25. )
  26. md5sums=('SKIP'
  27. '014452ddc77b8a115bfbcea2286a786c'
  28. '088df5e07ea1524f0be648c20e706f51')
  29.  
  30. #pkgver() {
  31. # cd "$pkgname"
  32. # local ver="$(svnversion)"
  33. # printf "r%s" "${ver//[[:alpha:]]}"
  34. #}
  35.  
  36. build(){
  37. cd "$srcdir/$_name"
  38. sh ./make-linux.sh
  39. }
  40.  
  41. package(){
  42. mkdir -p $pkgdir/usr/bin
  43. mkdir -p $pkgdir/usr/share/applications
  44. mkdir -p $pkgdir/usr/share/pixmaps/
  45. mv "$srcdir/$_name/release/other/pt2-clone" "$srcdir/$_name/release/other/$_name"
  46. cp "$srcdir/$_name/release/other/$_name" $pkgdir/usr/bin
  47. install -Dm644 protracker.png "$pkgdir/usr/share/pixmaps/protracker.png"
  48. install -Dm644 protracker.desktop "$pkgdir/usr/share/applications/protracker.desktop"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement