41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
|
# 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 <xtraeme@gmail.com>"
|
||
|
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
|
||
|
}
|
||
|
}
|