blob: 89519c2bbce3a33a3e68f7dc4847e823cf1f87b9 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=conky
pkgver=1.10.4
pkgrel=0
pkgdesc="An advanced, highly configurable system monitor for X based on torsmo"
url="http://conky.sourceforge.net/"
arch="all"
license="custom"
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"
options="!check"
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"
sed -i -e '32 iinclude(CheckIncludeFile)' CMakeLists.txt
default_prepare
}
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
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="665a3c2a9b150576d7c29964dafb7030f5aa5955530142cf0d00f0f49f4a3b320924d389b3a833ef6eb18468000f5c62d918e8f067c7b40cd9e205d0bf0d8e0c conky-1.10.4.tar.gz"
|