1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
7 pkgdesc="A powerful modeller designed to seamlessly interact with the POV-Ray ray tracing renderer."
9 url="http://sourceforge.net/apps/phpwebsite/yaprm/index.php"
11 depends=('povray' 'libgle' 'gdl2' 'gtkglextmm' 'ftgl' 'desktop-file-utils')
12 makedepends=('intltool')
13 install="$pkgname.install"
14 source=("http://downloads.sourceforge.net/project/$pkgname/$_name/$_name%20$pkgver/$pkgname-$pkgver.tar.gz")
15 md5sums=('965e14c739135bd32b33ab1452000d7d')
18 cd "$srcdir/$pkgname-$pkgver"
20 # include missing glu library
23 # remove xdg-mime install
24 sed -i "/xdg-mime/d" data/Makefile.*
26 # remove disable deprecated on gtkmm
27 sed -i '/GTKMM_DISABLE_DEPRECATED/d' configure
29 ./configure --prefix=/usr
30 make CXXFLAGS="$CXXFLAGS -fpermissive"
34 cd "$srcdir/$pkgname-$pkgver"
36 make DESTDIR="$pkgdir/" install
38 install -Dm644 data/yaprm-yml_mime.xml "$pkgdir/usr/share/mime/packages/yaprm-yml.xml"
39 install -Dm644 data/yaprm-ypm_mime.xml "$pkgdir/usr/share/mime/packages/yaprm-ypm.xml"
42 # vim:set ts=2 sw=2 et: