summaryrefslogtreecommitdiff
path: root/lua-pngencoder/PKGBUILD
blob: 3ffa80fcc8d86a38ac6143b83a6aed89d5c02550 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"
}