SHARE
TWEET

mcrcon PKGBUILD

a guest Sep 15th, 2013 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Contributor: kreed <kreed@kreed.org>
  2. pkgname=mcrcon
  3. pkgver=0.0.5
  4. pkgrel=1
  5. pkgdesc="Console based remote console (rcon) client for Minecraft servers"
  6. arch=('i686' 'x86_64')
  7. url="http://sourceforge.net/projects/mcrcon/"
  8. license=('ZLIB')
  9. source=(http://sourceforge.net/projects/mcrcon/files/${pkgver}/mcrcon-${pkgver}-src.zip)
  10. noextract=('mcrcon-0.0.5-src.zip')
  11. makedepends=('unzip')
  12.  
  13. prepare() {
  14.   unzip -o "$srcdir/mcrcon-${pkgver}-src.zip" "LICENSE.txt" "mcrcon.c"
  15. }
  16.  
  17. build() {
  18.   echo gcc -std=gnu99 $CFLAGS -o mcrcon mcrcon.c
  19.   gcc -std=gnu99 $CFLAGS -o mcrcon mcrcon.c
  20. }
  21.  
  22. package() {
  23.   install -m 755 -D mcrcon "$pkgdir/usr/bin/mcrcon"
  24.   install -m 644 -D LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
  25. }
  26.  
  27. md5sums=('162643de87103b0bd2a58529f123fc79')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top