From 429eae967468be97c398a7e0ddfdb21909877c00 Mon Sep 17 00:00:00 2001 From: cr6git Date: Wed, 14 Mar 2018 18:55:15 +0100 Subject: [PATCH] New package: idesk-0.7.5 --- srcpkgs/idesk/template | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 srcpkgs/idesk/template diff --git a/srcpkgs/idesk/template b/srcpkgs/idesk/template new file mode 100644 index 00000000000..08c0ab74762 --- /dev/null +++ b/srcpkgs/idesk/template @@ -0,0 +1,30 @@ +# Template file for 'idesk' +pkgname=idesk +version=0.7.5 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="giflib-devel imlib2-devel libjpeg-turbo-devel + libpng-devel libXft-devel libXpm-devel tiff-devel" +short_desc="Gives users of minimal wm's icons on their desktop" +maintainer="cr6git " +homepage="http://idesk.sourceforge.net" +license="BSD" +distfiles="${SOURCEFORGE_SITE}/idesk/idesk-${version}.tar.bz2" +checksum=d4b7ea5dcf6d49d83e2df9512d4c6388f11632a702b14f42a1bc6bffb617b3d3 + +pre_configure() { + sed -i -e '1,1i#include ' \ + -e '1,1i#include ' \ + -e '1,1i#include ' \ + src/DesktopConfig.cpp + + sed -i 's#usr/local#usr#' examples/default.lnk + sed -i 's#IMLIB2_LIBS=.*#IMLIB2_LIBS=-lImlib2#g' configure + sed -i 's#IMLIB_LIBS=.*#IMLIB_LIBS="-L/usr/lib -Wl,-O1,--sort-common,--as-needed,-z,relro -ljpeg -ltiff -lgif -lpng -lz -lm -lXext -lXext -lX11 -lImlib2"#g' configure +} + +post_install() { + vlicense COPYING +} +