#Maintainer: Maximus (maximuus[at]gmail[dot]com) pkgname=gnome-desktop-sharp pkgver=2.26.0 pkgrel=1 zenver=62 arch=i486 source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-desktop-sharp/2.26/$pkgname-$pkgver.tar.gz) sourcetemplate=http://pnboy.pinguix.com/atticus/www/files/$pkgname/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://www.mono-project.com/GtkSharp extradepends=(mono,gtk-sharp2,gnome-sharp) CFLAGS="-O2 -march=i486 -mtune=i686" CXXFLAGS=$CFLAGS slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gnome-desktop-sharp (.NET language binding for GNOME libraries)" "GnomeDesktop# is a .NET language binding for assorted GNOME libraries" "from the desktop release." "GnomeDesktop# is free software, licensed under the GNU LGPL." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix="/usr" \ --sysconfdir="/etc" \ --localstatedir="/var" \ --mandir="/usr/man" \ --infodir="/usr/info" \ --with-doc-dir="/usr/doc" \ --enable-static="no" \ --enable-shared="yes" find . -name "Makefile" -exec sed -i "s/-Wall/-Wall -O2 -march=i486 -mtune=i686/g" '{}' \; make || return 1 make DESTDIR=$startdir/pkg install }