Skip to content
Permalink
Browse files

marco 1.22.0-1

  • Loading branch information...
linuxchezmoi committed Apr 7, 2019
1 parent ddee9e0 commit c80d789044402d6c6cd570b30890f6e81ea4d721
Showing with 18 additions and 21 deletions.
  1. +18 −21 mate/marco/Pkgfile
@@ -1,42 +1,39 @@
# Depends on: mate-desktop gtk3 libcanberra libgtop startup-notification zenity


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


description="A window manager for MATE"
url="https://mate-desktop.org/"
packager="tnut <tnut@nutyx.org>"
contributors="Fanch,Tnut,Jayce,Greg"


name=marco
version=1.22.0
release=1


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

build() {

cd $name-$version
./configure \
build() {
cd $name-$version
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-gtk=3.0 \
--enable-startup-notification \
--disable-compositor \
--disable-static
make
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make DESTDIR=$PKG install

rm $PKG/usr/lib/libmarco-private.la

make
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
}

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))

package() {
cd "${name}-${version}"
make DESTDIR="${PKG}" install
}

0 comments on commit c80d789

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