summaryrefslogtreecommitdiff
path: root/manualPorts/conky/Pkgfile
blob: 626a1aaf52fefbab4546d83a9161393ea0032961 (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
# Description: Light-weight system monitor
# URL:         http://conky.sourceforge.net/
# Maintainer:  Erich Eckner, crux at eckner dot net
# Packager:    Juergen Daubert, jue at crux dot nu
# Depends on:  curl, glib, xorg-libxdamage, xorg-libxext, xorg-libxft, libircclient

name=conky
version=1.11.2
release=1
source=(https://github.com/brndnmtthws/conky/archive/v${version}.tar.gz MAX_SP.patch)

build() {
    cd $name-$version
    patch -p1 < $SRC/MAX_SP.patch
    mkdir build
    cd build
    cmake \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DLOCALE_DIR=/usr/share/locale \
        -DBUILD_IRC=on \
        -DBUILD_CURL=on \
        ../
    make
    make DESTDIR=$PKG install
}