From 9c28eed46ff77b5aca81cc6b9f4784c4b37b68ca Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 27 Oct 2010 09:09:47 +0000 Subject: main/lua-xctrl: moved from testing --- main/lua-xctrl/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ testing/lua-xctrl/APKBUILD | 39 --------------------------------------- 2 files changed, 39 insertions(+), 39 deletions(-) create mode 100644 main/lua-xctrl/APKBUILD delete mode 100644 testing/lua-xctrl/APKBUILD diff --git a/main/lua-xctrl/APKBUILD b/main/lua-xctrl/APKBUILD new file mode 100644 index 0000000000..92871e548c --- /dev/null +++ b/main/lua-xctrl/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Natanael Copa +pkgname=lua-xctrl +pkgver=2010.10.26 +_x=${pkgver%%.*} +_y=${pkgver%.*} +_y=${_y#*.} +_z=${pkgver##*.} +_ver=${_x}-${_y}-${_z} +pkgrel=0 +pkgdesc="Lua module that allows you to query and manipulate various aspects of an X11 window manager" +url="http://jkp.t35.com/lua/" +license="GPL-2" +depends= +makedepends="lua-dev libx11-dev libxmu-dev libiconv-dev" +install= +subpackages="$pkgname-doc" +source="http://jkp.t35.com/files/xctrl-$_ver.tar.gz" + +_builddir="$srcdir"/xctrl-$_ver +_lua_libdir=/usr/lib/lua/5.1 +prepare() { + cd "$_builddir" +} + +build() { + cd "$_builddir" + export EXTRA_CFLAGS="-fPIC" + export EXTRA_LDFLAGS="-liconv" + make || return 1 +} + +package() { + cd "$_builddir" + install -d "$pkgdir"/$_lua_libdir "$pkgdir"/usr/share/doc/$pkgname + install src/xctrl.so "$pkgdir"/$_lua_libdir/xctrl.so + install doc/lxctrl.html "$pkgdir"/usr/share/doc/$pkgname/lxctrl.html +} + +md5sums="edbe3385f1a660d1419d2d896c8cf106 xctrl-2010-10-26.tar.gz" diff --git a/testing/lua-xctrl/APKBUILD b/testing/lua-xctrl/APKBUILD deleted file mode 100644 index 92871e548c..0000000000 --- a/testing/lua-xctrl/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=lua-xctrl -pkgver=2010.10.26 -_x=${pkgver%%.*} -_y=${pkgver%.*} -_y=${_y#*.} -_z=${pkgver##*.} -_ver=${_x}-${_y}-${_z} -pkgrel=0 -pkgdesc="Lua module that allows you to query and manipulate various aspects of an X11 window manager" -url="http://jkp.t35.com/lua/" -license="GPL-2" -depends= -makedepends="lua-dev libx11-dev libxmu-dev libiconv-dev" -install= -subpackages="$pkgname-doc" -source="http://jkp.t35.com/files/xctrl-$_ver.tar.gz" - -_builddir="$srcdir"/xctrl-$_ver -_lua_libdir=/usr/lib/lua/5.1 -prepare() { - cd "$_builddir" -} - -build() { - cd "$_builddir" - export EXTRA_CFLAGS="-fPIC" - export EXTRA_LDFLAGS="-liconv" - make || return 1 -} - -package() { - cd "$_builddir" - install -d "$pkgdir"/$_lua_libdir "$pkgdir"/usr/share/doc/$pkgname - install src/xctrl.so "$pkgdir"/$_lua_libdir/xctrl.so - install doc/lxctrl.html "$pkgdir"/usr/share/doc/$pkgname/lxctrl.html -} - -md5sums="edbe3385f1a660d1419d2d896c8cf106 xctrl-2010-10-26.tar.gz" -- cgit v1.2.3