37 lines
1.2 KiB
Bash
37 lines
1.2 KiB
Bash
# Template build file for 'rox'.
|
|
pkgname=rox
|
|
version=2.11
|
|
revision=2
|
|
wrksrc="rox-filer-${version}"
|
|
hostmakedepends="pkg-config librsvg-utils"
|
|
makedepends="gtk+-devel libxml2-devel libSM-devel"
|
|
depends="desktop-file-utils"
|
|
short_desc="A small and fast file manager which can optionally manage the desktop background and panels"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2"
|
|
homepage="http://rox.sourceforge.net/desktop/"
|
|
distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
|
|
checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
|
|
|
|
nocross=yes
|
|
|
|
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}
|
|
|
|
vbin ${FILESDIR}/rox.sh rox
|
|
vman rox.1
|
|
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
|
|
}
|