Skip to content
Permalink
Browse files

caja 1.22.0-2

  • Loading branch information...
linuxchezmoi committed Apr 7, 2019
1 parent 05b40b8 commit f4e9c6bf5cb3ef0f72d83aa1c6076684b8ebd4a2
Showing with 18 additions and 18 deletions.
  1. +18 −18 mate/caja/Pkgfile
@@ -1,27 +1,19 @@
# Depends on: shared-mime-info exempi mate-desktop pango gtk3 libexif libxml2 libunique desktop-file-utils libnotify gvfs

# Depends on: shared-mime-info exempi mate-desktop pango gtk3 libexif libxml2 libunique desktop-file-utils libnotify

description="File manager for the MATE desktop"
url="https://mate-desktop.org/"

packager="tnut <tnut@nutyx.org>"
contributors="fanch,tnut,jayce,greg"

run=(shared-mime-info desktop-file-utils)


packager="sipo"
contributors=""
maintainer="sipo"


name=caja
version=1.22.0
release=1

release=2

source=(http://pub.mate-desktop.org/releases/${version%.*}/$name-$version.tar.xz)


build(){
build() {

cd $name-$version
./configure \
@@ -34,11 +26,19 @@ build(){
--disable-update-mimedb
make
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
}
make DESTDIR=$PKG install

rm $PKG/usr/lib/libcaja-extension.la
}

prepare(){
cd $name-$version
make DESTDIR=$PKG install
rm $PKG/usr/lib/libcaja-extension.la
uptodate() {
feed=https://github.com/mate-desktop/$name/releases.atom
exec="lynx -read_timeout=20 -dump -listonly -nonumbers $feed"
ligne=1 # nombre de notification ? afficher
$exec $feed | grep title | \
sed "s@<title>@@" | \
sed "s@</title>@@" | \
sed "s@v@@" | sed "s@ @@g" | \
head -n $(($ligne+1 )) | \
tail -n $(($ligne))
}

0 comments on commit f4e9c6b

Please sign in to comment.
You can’t perform that action at this time.