Advertisement
Guest User

PKGBUILD 4 UT4 build 2276868

a guest
Aug 30th, 2014
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.84 KB | None | 0 0
  1. pkgname=ut4
  2. ver=2276868
  3. pkgver=${ver}
  4. pkgrel=1
  5. pkgdesc="PRE-ALPHA of the new Unreal Tournament based on Unreal Engine 4. Registration at the forum required. Download zip file and put it in the directory with the PKGBUILD"
  6. arch=("x86_64")
  7. url="https://forums.unrealtournament.com/showthread.php?12011-Unreal-Tournament-Pre-Alpha-Playable-Build"
  8. license=('custom')
  9. depends=()
  10. makedepends=("unzip")
  11. options=()
  12. logo='https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xpf1/v/t1.0-1/p160x160/10314451_740393202680278_8895664656812191470_n.jpg?oh=633179b3561c096adfdd961857f1d2e1&oe=54814FDB&__gda__=1416081725_fe0895ee089114f4c6eb0777d7dd6ab7'
  13. #source=("https://ut.rushbase.net/raxxy/Builds/OldBuilds/UT-LINUX-${ver}.rar"
  14. #source=("https://ut.rushbase.net/rush/UT-LINUX-${ver}.rar"
  15. source=("UnrealTournament-Client-XAN-${ver}-Linux.zip"
  16.         "logo.jpg::$logo"
  17.         "UnrealTournament4.desktop")
  18.  
  19. _root=++depot+UE4-UT-CL-${ver}/LinuxNoEditor
  20.  
  21. #prepare() {
  22. #}
  23.  
  24. build() {
  25.         chmod 755 "$srcdir/$_root/UnrealTournament/Binaries/Linux/UnrealTournament" # come on
  26. }
  27.  
  28. #check() {
  29. #   cd "$srcdir/$pkgname-$pkgver"
  30. #   make -k check
  31. #}
  32.  
  33. package() {
  34.         install -d "$pkgdir/opt"
  35.         cp -ra $_root "$pkgdir/opt/ut4"
  36.  
  37.         chgrp -R games "$pkgdir/opt/ut4"
  38.         chmod -R a+rw "$pkgdir/opt/ut4/UnrealTournament/Saved"
  39.  
  40.         install -d "$pkgdir/usr/bin"
  41.         ln -s /opt/ut4/UnrealTournament/Binaries/Linux/UnrealTournament "$pkgdir/usr/bin/UnrealTournament4"
  42.  
  43.         install -d "$pkgdir/usr/share/icons/"
  44.         install logo.jpg "$pkgdir/usr/share/icons/UT4.jpg"
  45.  
  46.         install -d "$pkgdir/usr/share/applications/"
  47.         install UnrealTournament4.desktop "$pkgdir/usr/share/applications/"
  48. }
  49.  
  50. md5sums=('7e7485b2d3123245b52bf89fdbfdadd3'
  51.          '838d82a7659349ab780589f9fcff0936'
  52.          'dbd246fcf6a1063e4c399d7486731852')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement