milis/talimatname/genel/r/rox-filer/talimat

63 lines
1.6 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: İsteğe bağlı olarak masaüstü arka planını ve panellerini yönetebilen küçük ve hızlı dosya yöneticisi
2016-02-24 01:27:23 +01:00
# URL: http://roscidus.com/desktop/ROX-Filer
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: xorg-libsm libglade shared-mime-info
2016-02-24 01:27:23 +01:00
name=rox-filer
version=2.11
2016-11-02 21:32:29 +01:00
release=3
2016-02-24 01:27:23 +01:00
source=(http://downloads.sourceforge.net/rox/rox-filer-2.11.tar.bz2)
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
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
}