1 # Maintainer: Linus Sjögren <thelinx@unreliablepollution.net>
5 pkgdesc="A complete binding to the Imlib2 image manipulation library."
7 url="https://github.com/asb/lua-imlib2"
9 depends=('lua>=5.1' 'imlib2')
11 conflicts=('lua-imlib2')
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
24 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
34 cd "$srcdir/$_gitname"
35 if [ $CARCH = x86_64 ]; then
39 install -Dm0775 limlib2.so \
40 $pkgdir/usr/lib/lua/5.1/limlib2.so
41 install -Dm0664 imlib2.lua \
42 $pkgdir/usr/share/lua/5.1/imlib2.lua
43 install -Dm0664 LICENSE \
44 $pkgdir/usr/share/licenses/$pkgname/LICENSE