summaryrefslogtreecommitdiff
path: root/manualPorts/conky/Pkgfile
blob: b8950b9318d7bfd2f1ad4091e18f990dcfa9a79f (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.10.8
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
}