diff options
author | slakmagik <jsun@freeshell.org> | 2010-05-11 22:24:31 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-11 22:24:31 +0200 |
commit | 17bf96e255fce222669cab4f848cc1a1bf084046 (patch) | |
tree | acc5112427abb97ffc5e2a21553936b4d5ddc694 | |
parent | 5684cf8ecba823a940ae6a34ef96f993a6aa6834 (diff) | |
download | slackbuilds-17bf96e255fce222669cab4f848cc1a1bf084046.tar.gz |
misc/gcolor2: Updated for version 0.4
-rw-r--r-- | misc/gcolor2/doinst.sh | 4 | ||||
-rw-r--r-- | misc/gcolor2/gcolor2.SlackBuild | 12 | ||||
-rw-r--r-- | misc/gcolor2/gcolor2.desktop | 10 | ||||
-rw-r--r-- | misc/gcolor2/gcolor2.info | 2 |
4 files changed, 25 insertions, 3 deletions
diff --git a/misc/gcolor2/doinst.sh b/misc/gcolor2/doinst.sh new file mode 100644 index 0000000000..6af9811528 --- /dev/null +++ b/misc/gcolor2/doinst.sh @@ -0,0 +1,4 @@ +if [ -x usr/bin/update-desktop-database ]; then + usr/bin/update-desktop-database -q usr/share/applications +fi + diff --git a/misc/gcolor2/gcolor2.SlackBuild b/misc/gcolor2/gcolor2.SlackBuild index 862c11b7e7..bc7e364b8f 100644 --- a/misc/gcolor2/gcolor2.SlackBuild +++ b/misc/gcolor2/gcolor2.SlackBuild @@ -7,7 +7,7 @@ PRGNAM=gcolor2 VERSION=0.4 ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -40,7 +40,11 @@ find . \ # can't find without this patch. patch -p1 < $CWD/rgb.patch -CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" ./configure --prefix=/usr +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr + make make DESTDIR=$PKG install-strip @@ -49,8 +53,12 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a [ACI]* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +mkdir -p $PKG/usr/share/applications +cat $CWD/gcolor2.desktop > $PKG/usr/share/applications/gcolor2.desktop + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/misc/gcolor2/gcolor2.desktop b/misc/gcolor2/gcolor2.desktop new file mode 100644 index 0000000000..20f47311aa --- /dev/null +++ b/misc/gcolor2/gcolor2.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=gcolor2 +GenericName=Color Chooser +Comment=Pick colors via numeric input, color wheel, or named colors +Icon=/usr/share/pixmaps/gcolor2/icon.png +Exec=gcolor2 +Terminal=false +Categories=Utility;GTK; diff --git a/misc/gcolor2/gcolor2.info b/misc/gcolor2/gcolor2.info index ac9457692d..f7c6216a84 100644 --- a/misc/gcolor2/gcolor2.info +++ b/misc/gcolor2/gcolor2.info @@ -5,4 +5,4 @@ DOWNLOAD="http://downloads.sourceforge.net/gcolor2/gcolor2-0.4.tar.bz2" MD5SUM="223a126b8a87234d1552be4be4140789" MAINTAINER="slakmagik" EMAIL="jsun@freeshell.org" -APPROVED="David Somero" +APPROVED="Michiel" |