Created
November 27, 2019 15:53
-
-
Save Lartza/961978cf5991643cea7bfae47432902d to your computer and use it in GitHub Desktop.
mcrcon 0.6.1 PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: kreed <kreed@kreed.org> | |
# Contributor: rayman2200 | |
# Maintainer: Eric Anderson <ejona86@gmail.com> | |
pkgname=mcrcon | |
pkgver=0.6.1 | |
pkgrel=1 | |
pkgdesc="Console based remote console (rcon) client for Minecraft servers" | |
arch=('i686' 'x86_64') | |
url="https://github.com/Tiiffi/mcrcon" | |
license=('ZLIB') | |
source=(https://github.com/Tiiffi/mcrcon/archive/v$pkgver.tar.gz) | |
sha256sums=('3a8a7185835cb474edad248a5db240f047b24a903f034aac31900f6abcd58b25') | |
prepare() { | |
cd "mcrcon-$pkgver" | |
sed -e 's/$(PREFIX)/$(DESTDIR)$(PREFIX)/g' -i Makefile | |
} | |
build() { | |
cd "mcrcon-$pkgver" | |
make | |
} | |
package() { | |
cd "mcrcon-$pkgver" | |
make PREFIX=/usr DESTDIR="$pkgdir" install | |
install -m 644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment