diff options
author | Eric Anderson | 2015-06-20 09:13:19 -0700 |
---|---|---|
committer | Eric Anderson | 2015-06-20 09:13:19 -0700 |
commit | f34497ac065d236ae95fce19776c32aec073f450 (patch) | |
tree | a418fd30464956d09b24990658a1e0397eadd329 | |
download | aur-f34497ac065d236ae95fce19776c32aec073f450.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..395042c900d4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = mcrcon + pkgdesc = Console based remote console (rcon) client for Minecraft servers + pkgver = 0.0.5 + pkgrel = 1 + url = http://sourceforge.net/projects/mcrcon/ + arch = i686 + arch = x86_64 + license = ZLIB + makedepends = unzip + noextract = mcrcon-0.0.5-src.zip + source = http://sourceforge.net/projects/mcrcon/files/0.0.5/mcrcon-0.0.5-src.zip + md5sums = 162643de87103b0bd2a58529f123fc79 + +pkgname = mcrcon + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..81c2e7fe79b0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Contributor: kreed <kreed@kreed.org> +# Contributor: rayman2200 +pkgname=mcrcon +pkgver=0.0.5 +pkgrel=1 +pkgdesc="Console based remote console (rcon) client for Minecraft servers" +arch=('i686' 'x86_64') +url="http://sourceforge.net/projects/mcrcon/" +license=('ZLIB') +source=(http://sourceforge.net/projects/mcrcon/files/${pkgver}/mcrcon-${pkgver}-src.zip) +noextract=('mcrcon-0.0.5-src.zip') +makedepends=('unzip') + +prepare() { + unzip -qo "$srcdir/mcrcon-${pkgver}-src.zip" +} + +build() { + echo gcc -std=gnu99 $CFLAGS -o mcrcon mcrcon.c + gcc -std=gnu99 $CFLAGS -o mcrcon mcrcon.c +} + +package() { + install -m 755 -D mcrcon "$pkgdir/usr/bin/mcrcon" + install -m 644 -D LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" +} + +md5sums=('162643de87103b0bd2a58529f123fc79') |