summaryrefslogtreecommitdiff
path: root/lua-pngencoder/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'lua-pngencoder/PKGBUILD')
-rw-r--r--lua-pngencoder/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
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 <please at ignore pl>
+
+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"
+}