summaryrefslogtreecommitdiff
path: root/manualPorts/conky/Pkgfile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-07-21 07:18:59 +0200
committerErich Eckner <git@eckner.net>2020-07-21 07:18:59 +0200
commit1dc903576192c35921105e071b53a73b5d79f1d4 (patch)
treed83155d8417fc443418cf467c134770202b0f06b /manualPorts/conky/Pkgfile
parent749f04d3d317d90ca6fc18a2dfc351e8ef5257c2 (diff)
downloadcrux-ports-1dc903576192c35921105e071b53a73b5d79f1d4.tar.xz
conky: merge crux changes
Diffstat (limited to 'manualPorts/conky/Pkgfile')
-rw-r--r--manualPorts/conky/Pkgfile31
1 files changed, 20 insertions, 11 deletions
diff --git a/manualPorts/conky/Pkgfile b/manualPorts/conky/Pkgfile
index a4c3057..2fd0a93 100644
--- a/manualPorts/conky/Pkgfile
+++ b/manualPorts/conky/Pkgfile
@@ -2,24 +2,33 @@
# 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
+# Depends on: curl cmake lua imlib2 libxml2 xorg-libxdamage xorg-libxft xorg-libxinerama libircclient
name=conky
version=1.11.5
-release=1
-source=(https://github.com/brndnmtthws/conky/archive/v${version}.tar.gz MAX_SP.patch)
+release=2
+source=(https://github.com/brndnmtthws/conky/archive/v$version/$name-$version.tar.gz
+ conky.1.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 \
- ../
+ cmake . \
+ -D RELEASE=ON \
+ -D CMAKE_INSTALL_PREFIX=/usr \
+ -D SYSTEM_CONFIG_FILE=/usr/etc/conky.conf \
+ -D BUILD_DOCS=OFF \
+ -D BUILD_I18N=OFF \
+ -D BUILD_CURL=on \
+ -D BUILD_CURL=ON \
+ -D BUILD_RSS=ON
+
make
make DESTDIR=$PKG install
+
+ install -D $SRC/conky.1.gz $PKG/usr/share/man/man1/conky.1.gz
+ install -D data/conky.conf $PKG/usr/etc/conky.conf
+
+ rm -r $PKG/usr/share/doc
}