Date: Thursday, March 12, 2020 @ 00:03:01 Author: bgyorgy Revision: 594776
archrelease: copy trunk to community-x86_64 Added: muffin/repos/community-x86_64/PKGBUILD (from rev 594775, muffin/trunk/PKGBUILD) Deleted: muffin/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 121 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 62 insertions(+), 59 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-12 00:02:49 UTC (rev 594775) +++ PKGBUILD 2020-03-12 00:03:01 UTC (rev 594776) @@ -1,59 +0,0 @@ -# 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.4.2 -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") -sha256sums=('1c7a98e1a0fa9356d7c166166830bdb043079cdb7ff8d3dd6dc817e29852a52a') -b2sums=('3445619d10b9f754dbc82e766d0bb6177eb9b539badc7795ffead95efc8d7e7987976ce622394899182fb31a07aa37e200685f35a592d79abd2716f021c1fc18') - -prepare() { - cd "${srcdir}"/${pkgname}-${pkgver} - - # thou shalt not -Werror - sed -i 's/--warn-error//g' src/Makefile.am - - 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 \ - --disable-wayland-egl-server \ - --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 594775, muffin/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-12 00:03:01 UTC (rev 594776) @@ -0,0 +1,62 @@ +# 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.4.2 +pkgrel=2 +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') +options=('!emptydirs') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +sha256sums=('1c7a98e1a0fa9356d7c166166830bdb043079cdb7ff8d3dd6dc817e29852a52a') +b2sums=('3445619d10b9f754dbc82e766d0bb6177eb9b539badc7795ffead95efc8d7e7987976ce622394899182fb31a07aa37e200685f35a592d79abd2716f021c1fc18') + +prepare() { + cd "${srcdir}"/${pkgname}-${pkgver} + + # remove gnome-doc-utils unneded dependency + sed -i '/GNOME_DOC_INIT/d' configure.ac + + # thou shalt not -Werror + sed -i 's/--warn-error//g' src/Makefile.am + + 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 \ + --disable-wayland-egl-server \ + --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 +}