milis/talimatname/genel/rox-filer/talimat

63 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: İsteğe bağlı olarak masaüstü arka planını ve panellerini yönetebilen küçük ve hızlı dosya yöneticisi
# URL: http://roscidus.com/desktop/ROX-Filer
# Packager: milisarge
# Depends on: xorg-libsm libglade shared-mime-info
name=rox-filer
version=2.11
release=3
source=(http://downloads.sourceforge.net/rox/rox-filer-2.11.tar.bz2)
build() {
cd $name-$version/ROX-Filer
sed -i 's:g_strdup(getenv("APP_DIR")):"/usr/share/rox":' src/main.c
mkdir build
pushd build
../src/configure LIBS="-lm -ldl"
make
popd
mkdir -p $PKG/usr/{bin,share/{applications,pixmaps,rox,man/man1}}
cp -av Help Messages Options.xml ROX images style.css .DirIcon \
$PKG/usr/share/rox
cp -av ../rox.1 \
$PKG/usr/share/man/man1
cp -v ROX-Filer $PKG/usr/bin/rox
chown -Rv root:root $PKG/
cd $PKG/usr/share/rox/ROX/MIME
ln -sv text-x-{diff,patch}.png
ln -sv application-x-font-{afm,type1}.png
ln -sv application-xml{,-dtd}.png
ln -sv application-xml{,-external-parsed-entity}.png
ln -sv application-{,rdf+}xml.png
ln -sv application-x{ml,-xbel}.png
ln -sv application-{x-shell,java}script.png
ln -sv application-x-{bzip,xz}-compressed-tar.png
ln -sv application-x-{bzip,lzma}-compressed-tar.png
ln -sv application-x-{bzip-compressed-tar,lzo}.png
ln -sv application-x-{bzip,xz}.png
ln -sv application-x-{gzip,lzma}.png
ln -sv application-{msword,rtf}.png
ln -s ../rox/.DirIcon $PKG/usr/share/pixmaps/rox.png
cat > $PKG/usr/share/applications/rox.desktop << "HERE_DOC"
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Rox
Comment=The Rox File Manager
Icon=rox
Exec=rox
Categories=GTK;Utility;Application;System;Core;
StartupNotify=true
Terminal=false
HERE_DOC
}