This commit is contained in:
2025-06-06 00:00:18 +02:00
parent 7b9ab384f1
commit 259860e998
3 changed files with 35 additions and 3 deletions
+4 -1
View File
@@ -18,4 +18,7 @@ configure~
config.status config.status
margen margen
*.tar.gz *.tar.gz
configure configure
src/margen*
*.pkg.tar.zst
pkg
+20
View File
@@ -0,0 +1,20 @@
pkgname=margen
pkgver=1.2.1
pkgrel=1
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')
srcdir=build
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
sudo make DESTDIR="$pkgdir" install
}
+11 -2
View File
@@ -14,7 +14,7 @@ Written in pure C without librairies.
See [Releases](https://github.com/klemek/margen/releases) See [Releases](https://github.com/klemek/margen/releases)
```bash ```sh
tar xvzf margen-x.y.z.tar.gz tar xvzf margen-x.y.z.tar.gz
cd margen-x.y.z cd margen-x.y.z
./configure ./configure
@@ -22,9 +22,18 @@ make
make install make install
``` ```
### From PKGBrepository (PKGBUILD)
```sh
git clone https://github.com/klemek/margen
cd margen
pkbuild -si
```
### From repository (dev version) ### From repository (dev version)
```bash ```sh
git clone https://github.com/klemek/margen git clone https://github.com/klemek/margen
cd margen cd margen
aclocal aclocal