1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: Ben <ben@benmazer.net>
8 pkgdesc="Free Objects for X: GUI Toolkit for C++"
10 url="http://www.fox-toolkit.org/"
11 license=('LGPL' 'custom')
12 depends=('bzip2' 'libxcursor' 'libxft' 'libxrandr' 'libxi' 'libpng' 'libtiff' 'glu')
13 makedepends=('mesa' 'gendesk' 'imagemagick')
15 source=(http://fox-toolkit.org/ftp/fox-$pkgver.tar.gz)
16 sha256sums=('65ef15de9e0f3a396dc36d9ea29c158b78fad47f7184780357b929c94d458923')
19 cd "$srcdir"/${pkgname}-${pkgver}
20 gendesk -n -f --pkgname=adie --pkgdesc="Fast and convenient programming text editor" --categories="Utility;TextEditor"
21 gendesk -n -f --pkgname=calculator --name="FOX Calculator" --pkgdesc="Simple desktop calculator" --categories="Utility;Calculator"
22 gendesk -n -f --pkgname=ControlPanel --name="FOX Desktop Setup" --pkgdesc="Setup desktop appearance for FOX applications" --categories="Settings;DesktopSettings"
23 gendesk -n -f --pkgname=PathFinder --pkgdesc="File browser" --categories="System;FileTools;FileManager"
27 cd "$srcdir"/${pkgname}-${pkgver}
28 convert +set date:create +set date:modify adie/big_gif.gif adie.png
29 convert +set date:create +set date:modify calculator/bigcalc.gif calculator.png
30 convert +set date:create +set date:modify pathfinder/file_gif.gif PathFinder.png
32 export CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2"
33 ./configure --prefix=/usr \
49 cd "$srcdir"/${pkgname}-${pkgver}
50 make DESTDIR="$pkgdir" install
54 install -m755 .libs/ControlPanel "$pkgdir"/usr/bin/
57 install -Dm644 LICENSE_ADDENDUM "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
59 install -dm755 "$pkgdir"/usr/share/{applications,pixmaps}
60 install -m644 *.png "$pkgdir"/usr/share/pixmaps/
61 install -m644 *.desktop "$pkgdir"/usr/share/applications/