From 09b5656eca486c5eb6350ef13b5903ffa11b26aa Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 26 Aug 2013 11:16:54 +0200 Subject: [PATCH] New package: rox-2.11 (close #156). --- srcpkgs/rox/files/rox.desktop | 7 +++ srcpkgs/rox/files/rox.sh | 2 + srcpkgs/rox/files/rox.svg | 105 ++++++++++++++++++++++++++++++++++ srcpkgs/rox/template | 40 +++++++++++++ 4 files changed, 154 insertions(+) create mode 100644 srcpkgs/rox/files/rox.desktop create mode 100644 srcpkgs/rox/files/rox.sh create mode 100644 srcpkgs/rox/files/rox.svg create mode 100644 srcpkgs/rox/template diff --git a/srcpkgs/rox/files/rox.desktop b/srcpkgs/rox/files/rox.desktop new file mode 100644 index 00000000000..93edfabcf1a --- /dev/null +++ b/srcpkgs/rox/files/rox.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=ROX Filer +Exec=rox +Icon=rox +Terminal=false +Type=Application +Categories=System;Utility;Core;FileManager; diff --git a/srcpkgs/rox/files/rox.sh b/srcpkgs/rox/files/rox.sh new file mode 100644 index 00000000000..f2dc449d07b --- /dev/null +++ b/srcpkgs/rox/files/rox.sh @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/share/ROX-Filer/AppRun "$@" diff --git a/srcpkgs/rox/files/rox.svg b/srcpkgs/rox/files/rox.svg new file mode 100644 index 00000000000..2b5f1343ff5 --- /dev/null +++ b/srcpkgs/rox/files/rox.svg @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Created with Inkscape +http://www.inkscape.org/ + image/svg+xml + + Rox-Filer Icon for Archlinux +based on work found on the internet trying to match the original xpm + 2004-07-14 + + + Tobias Kieslich, Archlinux package maintainer + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template new file mode 100644 index 00000000000..0022b877b9f --- /dev/null +++ b/srcpkgs/rox/template @@ -0,0 +1,40 @@ +# Template build file for 'rox'. +pkgname=rox +version=2.11 +revision=1 +wrksrc="rox-filer-${version}" +hostmakedepends="pkg-config librsvg" +makedepends="gtk+-devel libxml2-devel libSM-devel desktop-file-utils" +short_desc="A small and fast file manager which can optionally manage the desktop background and panels" +maintainer="Juan RP " +license="GPL-2" +homepage="http://rox.sourceforge.net/desktop/" +distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2" +checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8 + +do_build() { + ./ROX-Filer/AppRun --compile LIBS="-ldl -lm" + rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg +} + +do_install() { + vmkdir usr/share/Choices/MIME-types + install -m755 Choices/MIME-types/* ${DESTDIR}/usr/share/Choices/MIME-types + cp -rp ROX-Filer ${DESTDIR}/usr/share + rm -fr ${DESTDIR}/usr/share/ROX-Filer/{src,build} + + vinstall ${FILESDIR}/rox.sh 755 usr/bin rox + vinstall rox.1 644 usr/share/man/man1 + ln -sf rox.1 ${DESTDIR}/usr/share/man/man1/ROX-Filer.1 + + vinstall ${FILESDIR}/rox.desktop 644 usr/share/applications + vinstall ${FILESDIR}/rox.svg 644 usr/share/pixmaps + vinstall rox.png 644 usr/share/pixmaps +} + +rox_package() { + depends="desktop-file-utils" + pkg_install() { + vmove all + } +}