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

64 lines
1.6 KiB
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +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
# URL: http://roscidus.com/desktop/ROX-Filer
# Paketçi: milisarge
# Gerekler: xorg-libsm libglade shared-mime-info
2018-07-30 13:21:10 +02:00
# Grup: masaüstü sistem
2018-06-09 00:06:58 +02:00
isim=rox-filer
surum=2.11
devir=3
kaynak=(http://downloads.sourceforge.net/rox/rox-filer-2.11.tar.bz2)
derle() {
cd $isim-$surum/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
}