milis/talimatname/genel/n/nemo/talimat

31 lines
1.2 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.

# Tanım: Cinnamon Dosya Yöneticisi
# URL: https://github.com/linuxmint/nemo
# Paketçi: Cihan_Alkan
# Gerekler: glib gtk-doc intltool xapps python-polib python-gobject gtk3 cinnamon-desktop libnotify cinnamon-translations gobject-introspection gnome-common libexif gvfs dconf desktop-file-utils exempi python libxml2
# Grup: sistem
isim=nemo
surum=3.8.2
devir=1
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
sed -i '/^\[Desktop Entry/,/^\[Desktop Action/ s/^Name\(.*\)=.*/Name\1=Nemo/' data/nemo.desktop.in
mkdir -p build
cd build
meson --prefix=/usr \
--libdir=/usr/lib \
--libexecdir=lib/${isim} \
--buildtype=plain \
..
ninja
DESTDIR="${PKG}" ninja install
mkdir -p $PKG/usr/lib/nemo/extensions-3.0
sed -i 's/Run Nemo with elevated privileges/Nemoyu yükseltilmiş ayrıcalıklarla çalıştır/g' $PKG/usr/share/polkit-1/actions/org.nemo.root.policy
sed -i 's/Please enter your password to run Nemo as root/Nemoyu kök olarak çalıştırmak için lütfen şifrenizi girin/g' $PKG/usr/share/polkit-1/actions/org.nemo.root.policy
}