diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rwxr-xr-x | prepare_update.sh | 2 |
3 files changed, 4 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = mcsctl-git pkgdesc = Manage multiple minecraft servers with a simple bash script and systemd unit templates. - pkgver = 3.0.0.r0.g9f1b8b7 + pkgver = 3.0.0.r4.gff820fd pkgrel = 1 url = https://github.com/Hetsh/mcsctl install = mcsctl-git.install @@ -2,7 +2,7 @@ # Maintainer: peterfab9845 <archlinux@peterfab.com> pkgname=mcsctl-git -pkgver=3.0.0.r0.g9f1b8b7 +pkgver=3.0.0.r4.gff820fd pkgrel=1 pkgdesc='Manage multiple minecraft servers with a simple bash script and systemd unit templates.' arch=('any') @@ -27,6 +27,7 @@ package() { install -Dm 755 "$work_dir/mcsctl.sh" "$pkgdir/usr/bin/mcsctl" install -Dm 644 "$work_dir/mcs-update@.timer" "$pkgdir/usr/lib/systemd/system/mcs-update@.timer" install -Dm 644 "$work_dir/mcs-update@.service" "$pkgdir/usr/lib/systemd/system/mcs-update@.service" + install -Dm 644 "$work_dir/mcsctl-completion.bash" "$pkgdir/usr/share/bash-completion/completions/mcsctl" # Generate an example config file from default options inside the mcsctl script sed -n '/\# Mutable config/,/\# \/Mutable config/p' "$work_dir/mcsctl.sh" | head -n -1 | tail -n +2 > "$work_dir/mcsctl.conf.bak" diff --git a/prepare_update.sh b/prepare_update.sh index 554d496050fc..31aec902d5ba 100755 --- a/prepare_update.sh +++ b/prepare_update.sh @@ -21,7 +21,7 @@ then else sed -i "s|pkgrel\=.*|pkgrel\=1|" "$BUILD_FILE" # Have makepkg update the version using pkgver() - makepkg -o + makepkg --nodeps --nobuild fi makepkg --printsrcinfo > .SRCINFO |