# Maintainer: Natanael Copa pkgname=lua-imlib2 pkgver=0.1 pkgrel=3 pkgdesc="A LUA binding to the Imlib2 image manipulation library" url="https://github.com/asb/lua-imlib2" arch="all" license="MIT" depends= makedepends="lua-dev imlib2-dev" install= source="http://luaforge.net/frs/download.php/3042/lua-imlib2-$pkgver.tar.gz" source="$pkgname-$pkgver.tar.gz::https://github.com/asb/lua-imlib2/archive/refs/tags/$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" # apply patches here } build() { cd "$_builddir" make || return 1 } package() { cd "$_builddir" install -D limlib2.so "$pkgdir"/usr/lib/lua/5.1/limlib2.so install -D imlib2.lua "$pkgdir"/usr/share/lua/5.1/imlib2.lua } sha512sums=" bfd013a25655320aeadf5d340d5442828d6402cc3b1283706ccb14db406f113ee0dd9a1e44ad8c2752356b9fc7a385f1f8c67a27870807a4f4c11e1deb761535 lua-imlib2-0.1.tar.gz "