diff options
Diffstat (limited to 'lua-pngencoder')
-rw-r--r-- | lua-pngencoder/.SRCINFO | 12 | ||||
-rw-r--r-- | lua-pngencoder/.gitignore | 1 | ||||
-rw-r--r-- | lua-pngencoder/PKGBUILD | 25 |
3 files changed, 38 insertions, 0 deletions
diff --git a/lua-pngencoder/.SRCINFO b/lua-pngencoder/.SRCINFO new file mode 100644 index 0000000..bc8116d --- /dev/null +++ b/lua-pngencoder/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = lua-pngencoder + pkgdesc = Very simple and feature-lean pure-Lua PNG encoder + pkgver = 20241104.1 + pkgrel = 1 + url = https://github.com/wyozi/lua-pngencoder + arch = any + license = LGPL-3.0 + makedepends = datever + source = git+https://github.com/wyozi/lua-pngencoder.git#commit=858a375 + sha256sums = SKIP + +pkgname = lua-pngencoder diff --git a/lua-pngencoder/.gitignore b/lua-pngencoder/.gitignore new file mode 100644 index 0000000..13f3948 --- /dev/null +++ b/lua-pngencoder/.gitignore @@ -0,0 +1 @@ +lua-pngencoder/ 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" +} |