desktop/conky/PKGBUILD

40 lines
1.2 KiB
Bash
Raw Normal View History

2010-06-12 06:12:59 +08:00
#
# Apps Packages for Chakra, part of chakra-project.org
#
2012-05-04 11:46:43 +08:00
# maintainer abveritas@chakra-project.org
2010-06-12 06:12:59 +08:00
pkgname=conky
2012-05-04 11:46:43 +08:00
pkgver=1.9.0
2014-01-06 09:28:07 +08:00
pkgrel=2
2010-06-12 06:12:59 +08:00
pkgdesc="An advanced, highly configurable system monitor for X based on torsmo"
2014-01-06 09:28:07 +08:00
arch=('x86_64')
2010-06-12 06:12:59 +08:00
url="http://conky.sourceforge.net/"
license=('custom')
replaces=('torsmo')
2014-01-06 09:28:07 +08:00
depends=('glib2' 'curl' 'lua' 'wireless_tools' 'libxml2' 'libxft' 'libxdamage' 'imlib2')
makedepends=('docbook2x')
categories=('utils')
2010-06-12 06:12:59 +08:00
backup=(etc/conky/conky.conf etc/conky/conky_no_x11.conf)
source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
2012-05-04 11:46:43 +08:00
md5sums=('d3de615f43aadc98d555e05ad9e902c2')
2010-06-12 06:12:59 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2014-01-06 09:28:07 +08:00
CPPFLAGS="${CXXFLAGS}" LIBS="${LDFLAGS}" ./configure \
--prefix=/usr \
2010-06-12 06:12:59 +08:00
--sysconfdir=/etc \
2014-01-06 09:28:07 +08:00
--enable-curl \
--enable-wheather-xoap \
2010-06-12 06:12:59 +08:00
--enable-wlan \
2014-01-06 09:28:07 +08:00
--enable-rss \
--enable-ibm \
--enable-imlib2
2012-05-04 11:46:43 +08:00
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
2010-06-12 06:12:59 +08:00
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}