diff options
Diffstat (limited to 'community/fox/PKGBUILD')
-rw-r--r-- | community/fox/PKGBUILD | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/community/fox/PKGBUILD b/community/fox/PKGBUILD index 719255ec2..55481bec4 100644 --- a/community/fox/PKGBUILD +++ b/community/fox/PKGBUILD @@ -1,22 +1,34 @@ -# $Id: PKGBUILD 100152 2013-11-01 20:24:18Z spupykin $ +# $Id: PKGBUILD 102384 2013-12-09 23:15:34Z bgyorgy $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Ben <ben@benmazer.net> pkgname=fox pkgver=1.6.49 -pkgrel=3 +pkgrel=4 pkgdesc="Free Objects for X: GUI Toolkit for C++" arch=('i686' 'x86_64') url="http://www.fox-toolkit.org/" license=('LGPL' 'custom') depends=('bzip2' 'libxcursor' 'libxft' 'libxrandr' 'libxi' 'libpng' 'libtiff' 'glu') -makedepends=('mesa') +makedepends=('mesa' 'gendesk' 'imagemagick') optdepends=('perl') source=(http://ftp.fox-toolkit.org/pub/fox-$pkgver.tar.gz) md5sums=('e120647d26a27ed37cd5fed8b75c8a3d') +prepare() { + cd ${srcdir}/${pkgname}-${pkgver} + gendesk -n -f --pkgname=adie --pkgdesc="Fast and convenient programming text editor" --categories="Utility;TextEditor" + gendesk -n -f --pkgname=calculator --name="FOX Calculator" --pkgdesc="Simple desktop calculator" --categories="Utility;Calculator" + gendesk -n -f --pkgname=ControlPanel --name="FOX Desktop Setup" --pkgdesc="Setup desktop appearance for FOX applications" --categories="Settings;DesktopSettings" + gendesk -n -f --pkgname=PathFinder --pkgdesc="File browser" --categories="System;FileTools;FileManager" +} + build() { cd ${srcdir}/${pkgname}-${pkgver} + convert adie/big_gif.gif adie.png + convert calculator/bigcalc.gif calculator.png + convert pathfinder/file_gif.gif PathFinder.png + export CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2" ./configure --prefix=/usr \ --enable-release \ @@ -36,8 +48,15 @@ build() { package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install - cd ${srcdir}/${pkgname}-${pkgver}/tests + + pushd tests make ControlPanel - install -m755 ${srcdir}/${pkgname}-${pkgver}/tests/.libs/ControlPanel ${pkgdir}/usr/bin/ - install -Dm644 ../LICENSE_ADDENDUM ${pkgdir}/usr/share/licenses/$pkgname/LICENSE + install -m755 .libs/ControlPanel ${pkgdir}/usr/bin/ + popd + + install -Dm644 LICENSE_ADDENDUM ${pkgdir}/usr/share/licenses/$pkgname/LICENSE + + install -dm755 ${pkgdir}/usr/share/{applications,pixmaps} + install -m644 *.png ${pkgdir}/usr/share/pixmaps/ + install -m644 *.desktop ${pkgdir}/usr/share/applications/ } |