From 4372285f13eba98a8f4bc14674fa32f88deaeba2 Mon Sep 17 00:00:00 2001 From: Marty Sluijtman Date: Fri, 19 Aug 2022 10:54:11 +0200 Subject: [PATCH] Verserion bump and package creation streamline --- APKBUILD | 6 +++--- Makefile | 12 ++++++++++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/APKBUILD b/APKBUILD index 35d877f..eda6189 100644 --- a/APKBUILD +++ b/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Marty Sluijtman # Maintainer: Marty Sluijtman pkgname=dice-roller -pkgver=0.2 -pkgrel=3 +pkgver=0.3 +pkgrel=1 pkgdesc="A little D&D dice roller written in go" url="https://gitlab.com/EternalWanderer/dice-roller" arch="all" @@ -21,5 +21,5 @@ package() { } sha512sums=" -4f3152c505fc31e25346a146cea925d97b82876533b8ed7aa6a14779a04f982c6f7e293dc9615fc55549ea4d8fa197f5b68eb7d924531353cb5d9b45433d2766 dice-roller-0.2.tar.gz +077ff672f2e9de88f9f9a03515d7291d29a8b8fd71859c265e255320fc52f68d0f968c2c2f04983bafbbc48e4d30b4519aecd3cfe10fb03ad160a6768b859362 dice-roller-0.3.tar.gz " diff --git a/Makefile b/Makefile index c553ec2..23c2cf9 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION = 0.2 +VERSION = 0.3 PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man @@ -14,7 +14,7 @@ clean: dist: clean 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) gzip dice-roller-$(VERSION).tar rm -rf dice-roller-$(VERSION) @@ -30,3 +30,11 @@ install: all uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/dice-roller\ $(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