Date: Friday, November 10, 2017 @ 19:15:23 Author: arojas Revision: 266168
archrelease: copy trunk to community-staging-x86_64 Added: muffin/repos/community-staging-x86_64/ muffin/repos/community-staging-x86_64/PKGBUILD (from rev 266167, muffin/trunk/PKGBUILD) ----------+ PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) Copied: muffin/repos/community-staging-x86_64/PKGBUILD (from rev 266167, muffin/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-11-10 19:15:23 UTC (rev 266168) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Alexandre Filgueira <alexfilgue...@antergos.com> +# Contributor: Adam Hani Schakaki <a...@schakaki.net> +# Contributor: Ner0 + +pkgname=muffin +pkgver=3.6.0 +pkgrel=1 +pkgdesc="Cinnamon window manager based on Mutter" +arch=('i686' 'x86_64') +url="https://github.com/linuxmint/muffin" +license=('GPL') +depends=('clutter' 'gobject-introspection-runtime' 'cinnamon-desktop' 'libcanberra' 'libsm' + 'startup-notification' 'zenity' 'dconf') +makedepends=('intltool' 'gnome-doc-utils' 'gnome-common' 'gobject-introspection' 'gtk-doc') +options=('!emptydirs') +source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/muffin/archive/$pkgver.tar.gz") +sha256sums=('b343b6bf86d83dad01dcfb12d224c7eb2d4b63e1fbbe8beb3240a618ffecf737') + +prepare() { + cd ${pkgname}-${pkgver} + +} + +build() { + cd ${pkgname}-${pkgver} + + PYTHON=python2 ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/muffin \ + --localstatedir=/var --disable-static --disable-schemas-compile \ + --enable-compile-warnings=minimum + + #https://bugzilla.gnome.org/show_bug.cgi?id=656231 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="$pkgdir/" install + + # Remove unused stuff + make -C src DESTDIR="$pkgdir" uninstall-binPROGRAMS uninstall-desktopfilesDATA + make -C src/tools DESTDIR="$pkgdir" uninstall + make -C src/compositor/plugins DESTDIR="$pkgdir" uninstall + make -C doc/man DESTDIR="$pkgdir" uninstall +} + +# vim:set ts=2 sw=2 et: