#Maintainer: Davidson Paulo pkgname=twitux pkgver=0.69 pkgrel=2 zenver=62 arch=i686 cpu=i686 source=("http://ufpr.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2") sourcetemplate=http://zur.zenwalk.org/files/$pkgname/ url="http://live.gnome.org/DanielMorales/Twitux" CFLAGS="-O2 -march=$arch -mtune=$cpu" CXXFLAGS="$CFLAGS" extradepends="gnome-doc-utils,iso-codes" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "Twitux (a GTK+ Twitter client)" "Twitux is a GTK+ Twitter (http://twitter.com) client" "For more information see:" " http://live.gnome.org/DanielMorales/Twitux" ) options=("noautodotnew") build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --enable-shared=yes \ --enable-static=no --enable-gnome-keyring=yes \ --enable-spell=yes --disable-schemas-install \ --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" make || return 1 make DESTDIR=$startdir/pkg install export GCONF_CONFIG_SOURCE="xml::$startdir/pkg/etc/gconf/gconf.xml.defaults" if [ -d $startdir/pkg/etc/gconf/schemas ] ; then install -v -d -m0755 $startdir/pkg/etc/gconf/gconf.xml.defaults SCHEMAS=$startdir/pkg/etc/gconf/schemas for schema in $SCHEMAS/*.schemas ; do gconftool-2 --makefile-install-rule $schema done # Reset / Verifiy correct permissions ( cd $startdir/pkg/etc/gconf ; find . -type d -exec chmod 755 {} \; ) ( cd $startdir/pkg/etc/gconf ; fidn . -type f -exec chmod 644 {} \; ) fi # Remove empty files find $startdir/pkg/etc/gconf/gconf.xml.defaults -type f | while read File ; do if [ -z "$(cat $File)" ] ; then rm -vf $File fi done } doinst() { usr/bin/gtk-update-icon-cache usr/share/icons/hicolor usr/bin/scrollkeeper-update } docs=("AUTHORS" "COPYING" "ChangeLog" "INSTALL" "NEWS" "README" "TODO")