Created
January 26, 2015 16:32
-
-
Save jsn/b9363da99887574d8a18 to your computer and use it in GitHub Desktop.
tekui-1.11-1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Daniel J Griffiths <[email protected]> | |
# Maintainer: perlawk | |
pkgname=tekui | |
pkgver=1.11 | |
pkgrel=1 | |
pkgdesc="A small, freestanding and portable GUI toolkit written in Lua and C." | |
arch=('i686' 'x86_64') | |
url="http://tekui.teklib.org" | |
license=('GPL') | |
depends=('lua' 'lua-filesystem' 'freetype2' 'libx11' 'libxft' 'fontconfig' 'libxxf86vm') | |
optdepends=('directfb: for the directfb driver') | |
options=("!strip") | |
source=(http://tekui.neoscientists.org/releases/${pkgname}-${pkgver}-r1.tgz) | |
build() { | |
cd ${srcdir}/${pkgname}-${pkgver}-r1 | |
sed -i 's|usr/local|usr|g' config | |
sed -i 's|lua51|lua52|g;s|lua5.1|lua5.2|g;' config | |
sed -i "s|lib/lua/5.1|lib/lua/5.2|g" config | |
sed -i "s|share/lua/5.1|share/lua/5.2|g" config | |
sed -i "s!<freetype/!<freetype2/!g" src/display_rawfb/display_rfb_mod.h | |
make all | |
} | |
package() { | |
cd ${srcdir}/${pkgname}-${pkgver}-r1 | |
make PREFIX="$pkgdir"/usr install | |
mv $pkgdir/usr/share/lua/5.1 $pkgdir/usr/share/lua/5.2 | |
mv $pkgdir/usr/lib/lua/5.1 $pkgdir/usr/lib/lua/5.2 | |
} | |
md5sums=('256b733ee042e5e0a709d134f2d9e5a3') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment