contrib/dia/Pkgfile

32 lines
681 B
Plaintext
Raw Normal View History

2006-11-19 22:26:53 +01:00
# Description: GTK+ Diagramming Creation Software.
2008-03-16 16:03:00 +01:00
# URL: http://live.gnome.org/Dia/
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
2009-12-07 13:01:04 +01:00
# Packager: Younes Hafri, ycrux at club dash internet dot fr
2015-03-03 03:56:45 +01:00
# Depends on: docbook-xsl gtk intltool libart_lgpl xorg-libxdamage xz
2006-11-14 00:01:22 +01:00
name=dia
2015-03-03 03:56:45 +01:00
version=0.97.3
release=1
source=(ftp://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)
2006-11-14 00:01:22 +01:00
build() {
2011-12-29 17:40:42 +01:00
cd $name-$version
2006-11-14 00:01:22 +01:00
2007-05-14 01:02:30 +02:00
./configure \
--prefix=/usr \
2011-12-29 17:40:42 +01:00
--mandir=/usr/man \
2007-05-14 01:02:30 +02:00
--disable-nls \
2015-03-03 03:56:45 +01:00
--with-python \
--with-cairo
2006-11-14 00:01:22 +01:00
2008-03-16 16:03:00 +01:00
make
make DESTDIR=$PKG install
2011-12-29 17:40:42 +01:00
2015-03-03 03:56:45 +01:00
/usr/bin/python -mcompileall $PKG
2011-12-29 17:40:42 +01:00
rm -r \
$PKG/usr/share/locale \
$PKG/usr/share/doc \
$PKG/usr/share/man
2006-11-14 00:01:22 +01:00
}