2018-02-03 19:57:02 +01:00
# 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: cinnamon
isim=nemo
2018-05-11 17:39:53 +02:00
surum=3.8.2
2018-02-03 19:57:02 +01:00
devir=1
2018-05-14 02:34:16 +02:00
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz)
2018-02-03 19:57:02 +01:00
derle() {
cd $isim-$surum
2018-05-11 17:39:53 +02:00
sed -i '/^\[Desktop Entry/,/^\[Desktop Action/ s/^Name\(.*\)=.*/Name\1=Nemo/' data/nemo.desktop.in
mkdir -p build
cd build
meson --prefix=/usr \
2018-05-13 21:42:38 +02:00
--libdir=/usr/lib \
--libexecdir=lib/${isim} \
2018-05-11 17:39:53 +02:00
--buildtype=plain \
..
ninja
DESTDIR="${PKG}" ninja install
2018-02-03 19:57:02 +01:00
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
}