Update talimat

This commit is contained in:
Aylinux 2018-05-11 18:39:53 +03:00 committed by GitHub
parent 373f0288dc
commit e5992fa9cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 16 deletions

View File

@ -5,29 +5,25 @@
# Grup: cinnamon # Grup: cinnamon
isim=nemo isim=nemo
surum=3.6.5 surum=3.8.2
devir=1 devir=1
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz
libnemo-fileroller.so) libnemo-fileroller.so)
derle() { derle() {
cd $isim-$surum cd $isim-$surum
./autogen.sh \ sed -i '/^\[Desktop Entry/,/^\[Desktop Action/ s/^Name\(.*\)=.*/Name\1=Nemo/' data/nemo.desktop.in
--prefix=/usr \ mkdir -p build
--sysconfdir=/etc \ cd build
--localstatedir=/var \
--disable-static \ meson --prefix=/usr \
--libexecdir=/usr/lib/nemo \ --libexecdir=lib/${pkgname} \
--disable-update-mimedb \ --buildtype=plain \
--disable-tracker \ ..
--disable-gtk-doc-html \ ninja
--disable-schemas-compile \
--disable-selinux DESTDIR="${PKG}" ninja install
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
mkdir -p $PKG/usr/lib/nemo/extensions-3.0 mkdir -p $PKG/usr/lib/nemo/extensions-3.0
mv $SRC/libnemo-fileroller.so $PKG/usr/lib/nemo/extensions-3.0/ mv $SRC/libnemo-fileroller.so $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/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