blob: fa698bb19f252daaf2e1019f096302526f82b458 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=conky
pkgver=1.10.2
pkgrel=0
pkgdesc="An advanced, highly configurable system monitor for X based on torsmo"
url="http://conky.sourceforge.net/"
arch="all"
license="custom"
depends=""
makedepends="alsa-lib-dev libxml2-dev curl-dev wireless-tools-dev
libxft-dev glib-dev libxdamage-dev libxext-dev imlib2-dev lua5.2-dev
cairo-dev tolua++ ncurses-dev linux-headers cmake gawk libxinerama-dev
"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/brndnmtthws/conky/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
local i
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
sed -i -e '32 iinclude(CheckIncludeFile)' CMakeLists.txt
}
build() {
cd "$_builddir"
cmake . \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_CURL=ON \
-DBUILD_XDBE=ON \
-DBUILD_IMLIB2=ON \
-DBUILD_RSS=ON \
-DBUILD_WEATHER_METAR=ON \
-DBUILD_WEATHER_XOAP=ON \
-DBUILD_WLAN=ON \
-DBUILD_I18N=OFF \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
md5sums="0f25b52dfe04e253d8ed0a1dc6d7eb0d conky-1.10.2.tar.gz"
sha256sums="cc4536141d90a6403a1eccf1f36891b6dd421e69ec3803842c65113c3a109cf0 conky-1.10.2.tar.gz"
sha512sums="2b3ec689dfcfc863c1a2d47e19cd7301aff7438990d013d281a2ca9c390ecc1be2a489de98e1457c50aad6d6f4694a2ec8e656cba7e10b340addfc8f86c4c7a0 conky-1.10.2.tar.gz"
|