From 0de19d9acf4ef7d73d8002422b9627a9e7fd4772 Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 4 Nov 2024 13:42:32 +0100 Subject: Added lua-pngencoder package --- lua-pngencoder/PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 lua-pngencoder/PKGBUILD (limited to 'lua-pngencoder/PKGBUILD') diff --git a/lua-pngencoder/PKGBUILD b/lua-pngencoder/PKGBUILD new file mode 100644 index 0000000..3ffa80f --- /dev/null +++ b/lua-pngencoder/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Aki + +pkgname=lua-pngencoder +_commit=858a375 +pkgver=20241104.1 +pkgrel=1 +pkgdesc='Very simple and feature-lean pure-Lua PNG encoder' +arch=('any') +url='https://github.com/wyozi/lua-pngencoder' +makedepends=(datever) +license=('LGPL-3.0') +source=("git+https://github.com/wyozi/lua-pngencoder.git#commit=$_commit") +sha256sums=('SKIP') + + +pkgver() { + cd lua-pngencoder + datever +} + + +package() { + cd lua-pngencoder + install -Dm644 pngencoder.lua -t "$pkgdir/usr/share/lua/5.4" +} -- cgit v1.1