# 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" }