summaryrefslogtreecommitdiff
path: root/dia/Pkgfile
blob: 487719df22960dfb1f2d64ef93e6609f6b3441de (plain)
    1 # Description: GTK+ Diagramming Creation Software.
    2 # URL: http://live.gnome.org/Dia/
    3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
    4 # Packager: Younes Hafri, ycrux at club dash internet dot fr
    5 # Depends on: docbook-xsl gtk intltool libart_lgpl libgcrypt popt xorg-libxdamage
    6 
    7 name=dia
    8 version=0.97.2
    9 release=2
   10 source=(ftp://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz
   11 	dia-glib-2.32.diff)
   12 
   13 build() {
   14 	cd $name-$version
   15 	patch -p 0 -i $SRC/dia-glib-2.32.diff
   16 
   17 	./configure \
   18 		--prefix=/usr \
   19 		--mandir=/usr/man \
   20 		--disable-nls \
   21 		--disable-db2html
   22 
   23 	make
   24 	make DESTDIR=$PKG install
   25 
   26 	rm -r \
   27 		$PKG/usr/share/locale \
   28 		$PKG/usr/share/doc \
   29 		$PKG/usr/share/man
   30 
   31 	rmdir $PKG/usr/share/oaf
   32 }

Generated by cgit