contrib/dia/Pkgfile
2017-11-01 23:35:12 +11:00

32 lines
669 B
Plaintext

# Description: GTK+ Diagramming Creation Software.
# URL: http://live.gnome.org/Dia/
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Younes Hafri, ycrux at club dash internet dot fr
# Depends on: docbook-xsl gtk libart_lgpl xorg-libxdamage
name=dia
version=0.97.3
release=1
source=(ftp://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--mandir=/usr/man \
--disable-nls \
--with-python \
--with-cairo
make
make DESTDIR=$PKG install
/usr/bin/python -mcompileall $PKG
rm -r \
$PKG/usr/share/locale \
$PKG/usr/share/doc \
$PKG/usr/share/man
}