Date: Sunday, November 4, 2018 @ 22:46:22 Author: eschwartz Revision: 401530
archrelease: copy trunk to community-x86_64 Added: muffin/repos/community-x86_64/PKGBUILD (from rev 401529, muffin/trunk/PKGBUILD) Deleted: muffin/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 112 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 58 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-11-04 22:46:02 UTC (rev 401529) +++ PKGBUILD 2018-11-04 22:46:22 UTC (rev 401530) @@ -1,54 +0,0 @@ -# $Id$ -# Maintainer: Eli Schwartz <eschwa...@archlinux.org> -# Contributor: Alexandre Filgueira <alexfilgue...@cinnarch.com> -# Contributor: Adam Hani Schakaki <a...@schakaki.net> -# Contributor: Ner0 - -pkgname=muffin -pkgver=3.8.2 -pkgrel=1 -pkgdesc="Cinnamon window manager based on Mutter" -arch=('x86_64') -url="https://github.com/linuxmint/${pkgname}" -license=('GPL') -depends=('cinnamon-desktop' 'clutter' 'gobject-introspection-runtime' 'libcanberra' 'libsm' - 'startup-notification' 'zenity') -makedepends=('intltool' 'gobject-introspection' 'gtk-doc' 'gnome-doc-utils') -options=('!emptydirs') -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") -sha256sums=('b567c96022698f6fdc81118e5ffa5f14d4c95fd20c4ad228eee8c0d1b8cbc902') - -prepare() { - cd "${srcdir}"/${pkgname}-${pkgver} - - NOCONFIGURE=1 ./autogen.sh -} - -build() { - cd "${srcdir}"/${pkgname}-${pkgver} - - ./configure --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 "${srcdir}"/${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 -} Copied: muffin/repos/community-x86_64/PKGBUILD (from rev 401529, muffin/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-11-04 22:46:22 UTC (rev 401530) @@ -0,0 +1,58 @@ +# Maintainer: Eli Schwartz <eschwa...@archlinux.org> +# Contributor: Alexandre Filgueira <alexfilgue...@cinnarch.com> +# Contributor: Adam Hani Schakaki <a...@schakaki.net> +# Contributor: Ner0 + +pkgname=muffin +pkgver=4.0.0 +pkgrel=1 +pkgdesc="Cinnamon window manager based on Mutter" +arch=('x86_64') +url="https://github.com/linuxmint/${pkgname}" +license=('GPL') +depends=('cinnamon-desktop' 'gobject-introspection-runtime' 'libcanberra' 'libinput' + 'libsm' 'libxkbcommon-x11' 'startup-notification' 'zenity') +makedepends=('intltool' 'gobject-introspection' 'gtk-doc' 'gnome-doc-utils') +options=('!emptydirs') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz" + "${url}/commit/c9b0c9ae1acfa80ce47d598dc8a0c924fd9f205d.patch") +sha256sums=('c38e4a1b53378bdf005da5477b8478a97e7f7bc7f6f40e1eeed21602a67bd656' + '3747dacdebe79900985da865c183ac164ca50fbe533a0615ee1d2778a323da9d') + +prepare() { + cd "${srcdir}"/${pkgname}-${pkgver} + + # https://github.com/linuxmint/muffin/pull/374 + patch -p1 -i ../c9b0c9ae1acfa80ce47d598dc8a0c924fd9f205d.patch + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/muffin \ + --localstatedir=/var \ + --disable-gtk-doc \ + --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 "${srcdir}"/${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 +}