Verserion bump and package creation streamline

This commit is contained in:
Nox Sluijtman 2022-08-19 10:54:11 +02:00
parent 82ca0401e6
commit 4372285f13
2 changed files with 13 additions and 5 deletions

View file

@ -1,8 +1,8 @@
# Contributor: Marty Sluijtman <marty.wanderer@disroot.org> # Contributor: Marty Sluijtman <marty.wanderer@disroot.org>
# Maintainer: Marty Sluijtman <marty.wanderer@disroot.org> # Maintainer: Marty Sluijtman <marty.wanderer@disroot.org>
pkgname=dice-roller pkgname=dice-roller
pkgver=0.2 pkgver=0.3
pkgrel=3 pkgrel=1
pkgdesc="A little D&D dice roller written in go" pkgdesc="A little D&D dice roller written in go"
url="https://gitlab.com/EternalWanderer/dice-roller" url="https://gitlab.com/EternalWanderer/dice-roller"
arch="all" arch="all"
@ -21,5 +21,5 @@ package() {
} }
sha512sums=" sha512sums="
4f3152c505fc31e25346a146cea925d97b82876533b8ed7aa6a14779a04f982c6f7e293dc9615fc55549ea4d8fa197f5b68eb7d924531353cb5d9b45433d2766 dice-roller-0.2.tar.gz 077ff672f2e9de88f9f9a03515d7291d29a8b8fd71859c265e255320fc52f68d0f968c2c2f04983bafbbc48e4d30b4519aecd3cfe10fb03ad160a6768b859362 dice-roller-0.3.tar.gz
" "

View file

@ -1,4 +1,4 @@
VERSION = 0.2 VERSION = 0.3
PREFIX = /usr/local PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man MANPREFIX = $(PREFIX)/share/man
@ -14,7 +14,7 @@ clean:
dist: clean dist: clean
mkdir -p dice-roller-$(VERSION) mkdir -p dice-roller-$(VERSION)
cp -R LICENSE Makefile README.md dice-roller.1 $(SRC) dice-roller-$(VERSION) cp -R LICENSE Makefile README.md dice-roller.1 Colors Coin Dice $(SRC) dice-roller-$(VERSION)
tar -cf dice-roller-$(VERSION).tar dice-roller-$(VERSION) tar -cf dice-roller-$(VERSION).tar dice-roller-$(VERSION)
gzip dice-roller-$(VERSION).tar gzip dice-roller-$(VERSION).tar
rm -rf dice-roller-$(VERSION) rm -rf dice-roller-$(VERSION)
@ -30,3 +30,11 @@ install: all
uninstall: uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/dice-roller\ rm -f $(DESTDIR)$(PREFIX)/bin/dice-roller\
$(DESTDIR)$(MANPREFIX)/man1/dice-roller.1 $(DESTDIR)$(MANPREFIX)/man1/dice-roller.1
package: dist
rsync --progress dice-roller-$(VERSION).tar.gz voidDroplet:/var/www/alpine/src/
rm -f /var/cache/distfiles/dwm*
abuild checksum
abuild -r
.PHONY: all dice-roller clean dist install uninstall package