update arch sha256 and release tools

This commit is contained in:
2025-07-03 12:30:02 +02:00
parent 01e2e5376b
commit f1ba3b32dc
3 changed files with 28 additions and 3 deletions
+6
View File
@@ -31,6 +31,12 @@ release:
./configure
make distcheck
.PHONY: release-arch
release-arch: clean
mkdir -p build
cp PKGBUILD build
cd build && makepkg
.PHONY: gif
gif: build
mkdir -p tmp
+1 -1
View File
@@ -5,7 +5,7 @@ pkgdesc="Generate a marble-like pattern bitmap image, blazing fast."
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64' 'riscv64')
url="https://github.com/klemek/margen"
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/klemek/margen/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('41523e3c1250c4026e4914e757c4e137397d115568ed3f72691631ddd97777a1')
sha256sums=('5e9b50a7d5b4f7604d04d6cd89d85b65cc5a29a078948c86cda9c3197c7295cd')
srcdir=build
build() {
+21 -2
View File
@@ -22,12 +22,12 @@ make
make install
```
### From PKGBrepository (PKGBUILD)
### From repository (PKGBUILD)
```sh
git clone https://github.com/klemek/margen
cd margen
pkbuild -si
makepkg -si
```
@@ -66,3 +66,22 @@ options:
-r, --rotation start corner rotation [0-3] (default: random)
-m, --monochrome grayscale generation
```
## Release guide
```bash
# update configure.ac with new version
$EDITOR configure.ac
# make full build
make -f Makefile.dev release
# push to repo
git commit -am "margen vX.Y.Z"
git tag vX.Y.Z
git push origin master --tags
# create release from tag on github
# update PKGBUILD with new sha256 sum
sha256sum margen-x.y.z.tar.gz
make -f Makefile.dev release-arch
git commit -am "update arch sha256"
# add .pkg.tar.zst on the release
```