summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/conky-lua/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/pcr/conky-lua/PKGBUILD b/pcr/conky-lua/PKGBUILD
index 930445cc2..6cb2030fd 100644
--- a/pcr/conky-lua/PKGBUILD
+++ b/pcr/conky-lua/PKGBUILD
@@ -4,18 +4,19 @@
# Contributor (Arch): Partha Chowdhury <kira.laucas@gmail.com>
# Contributor (Arch): Gaetan Bisson <bisson@archlinux.org>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
+# Contributor : Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=conky-lua
_pkgname=conky
pkgver=1.9.0
-pkgrel=1
-pkgdesc='Lightweight system monitor for X'
+pkgrel=2
+pkgdesc='Lightweight system monitor for X, with Lua support enabled'
url='http://conky.sourceforge.net/'
-license=('BSD' 'GPL')
+license=('BSD3' 'GPL')
arch=('i686' 'x86_64' 'mips64el')
options=('!emptydirs')
-makedepends=('docbook2x' 'toluapp' 'perl-xml-libxml')
-depends=('alsa-lib' 'libxml2' 'curl' 'wireless_tools' 'libxft' 'glib2' 'libxdamage' 'imlib2' 'lua' 'cairo')
+makedepends=('docbook2x' 'tolua++' 'perl-xml-libxml')
+depends=('alsa-lib' 'libxml2' 'curl' 'wireless_tools' 'libxft' 'glib2' 'libxdamage' 'imlib2' 'lua51' 'cairo')
provides=('conky=1.9.0')
conflicts=('conky')
backup=('etc/conky/conky.conf' 'etc/conky/conky_no_x11.conf')
@@ -27,7 +28,8 @@ replaces=('torsmo')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
- CPPFLAGS="${CXXFLAGS}" LIBS="${LDFLAGS}" ./configure \
+ CPPFLAGS="${CXXFLAGS}" LIBS="${LDFLAGS}" LUA_LIBS="-llua5.1" LUA_CFLAGS="-I/usr/include/lua5.1" \
+ ./configure \
--prefix=/usr \
--sysconfdir=/etc \
--enable-ibm \
@@ -51,4 +53,3 @@ package() {
install -Dm644 extras/vim/syntax/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/syntax/conkyrc.vim
install -Dm644 extras/vim/ftdetect/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/ftdetect/conkyrc.vim
}
-sha1sums=('a8d26d002370c9b877ae77ad3a3bbd2566b38e5d')