Date: Thursday, December 6, 2018 @ 15:02:49 Author: eschwartz Revision: 411771
archrelease: copy trunk to community-x86_64 Added: cinnamon-control-center/repos/community-x86_64/PKGBUILD (from rev 411770, cinnamon-control-center/trunk/PKGBUILD) Deleted: cinnamon-control-center/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 106 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 53 insertions(+), 53 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-12-06 15:02:31 UTC (rev 411770) +++ PKGBUILD 2018-12-06 15:02:49 UTC (rev 411771) @@ -1,53 +0,0 @@ -# Maintainer: Eli Schwartz <eschwa...@archlinux.org> -# Contributor: Alexandre Filgueira <alexfilgue...@cinnarch.com> -# Based on gnome-control-center: -# Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> -# Jan de Groot <j...@archlinux.org> - -pkgname=cinnamon-control-center -pkgver=4.0.0 -pkgrel=1 -pkgdesc="The Control Center for Cinnamon" -arch=('x86_64') -url="https://github.com/linuxmint/${pkgname}" -license=('GPL') -depends=('cinnamon-settings-daemon' 'cinnamon-menus' 'colord' - 'libgnomekbd' 'libmm-glib' 'nm-connection-editor') -optdepends=('cinnamon-translations: i18n' - 'gnome-color-manager: for color management tasks' - 'gnome-online-accounts: for the online accounts module') -makedepends=('gnome-online-accounts' 'intltool' 'python') -options=('!emptydirs') -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") -sha256sums=('425fed68a1ec698ae2fb721275d9422bc4a34ca1614a0cc8d83b0a9536721442') - -prepare() { - cd "${srcdir}"/${pkgname}-${pkgver} - - NOCONFIGURE=1 ./autogen.sh -} - -build() { - cd "${srcdir}"/${pkgname}-${pkgver} - - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --enable-systemd - - #https://bugzilla.gnome.org/show_bug.cgi?id=656229 - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool - make -} - -package() { - cd "${srcdir}"/${pkgname}-${pkgver} - - # https://github.com/linuxmint/Cinnamon/pull/7382#issuecomment-374894901 - # /usr/bin/cinnamon-control-center is not meant for users, it is a development troubleshooting tool. - # Just install the shell libs/headers. - make -C shell DESTDIR="${pkgdir}" install-{libcinnamon_control_center_includeHEADERS,libLTLIBRARIES,pkgconfigDATA} - make -C panels DESTDIR="${pkgdir}" install - - install -d -o root -g 102 -m 750 "${pkgdir}"/usr/share/polkit-1/rules.d -} Copied: cinnamon-control-center/repos/community-x86_64/PKGBUILD (from rev 411770, cinnamon-control-center/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-12-06 15:02:49 UTC (rev 411771) @@ -0,0 +1,53 @@ +# Maintainer: Eli Schwartz <eschwa...@archlinux.org> +# Contributor: Alexandre Filgueira <alexfilgue...@cinnarch.com> +# Based on gnome-control-center: +# Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Jan de Groot <j...@archlinux.org> + +pkgname=cinnamon-control-center +pkgver=4.0.1 +pkgrel=1 +pkgdesc="The Control Center for Cinnamon" +arch=('x86_64') +url="https://github.com/linuxmint/${pkgname}" +license=('GPL') +depends=('cinnamon-settings-daemon' 'cinnamon-menus' 'colord' + 'libgnomekbd' 'libmm-glib' 'nm-connection-editor') +optdepends=('cinnamon-translations: i18n' + 'gnome-color-manager: for color management tasks' + 'gnome-online-accounts: for the online accounts module') +makedepends=('gnome-online-accounts' 'intltool' 'python') +options=('!emptydirs') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +sha256sums=('130663817d55a6f37f6f5a51b2aa71b7b2ec7c684ef358f16b5a47e1b133ff76') + +prepare() { + cd "${srcdir}"/${pkgname}-${pkgver} + + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-systemd + + #https://bugzilla.gnome.org/show_bug.cgi?id=656229 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool + make +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + + # https://github.com/linuxmint/Cinnamon/pull/7382#issuecomment-374894901 + # /usr/bin/cinnamon-control-center is not meant for users, it is a development troubleshooting tool. + # Just install the shell libs/headers. + make -C shell DESTDIR="${pkgdir}" install-{libcinnamon_control_center_includeHEADERS,libLTLIBRARIES,pkgconfigDATA} + make -C panels DESTDIR="${pkgdir}" install + + install -d -o root -g 102 -m 750 "${pkgdir}"/usr/share/polkit-1/rules.d +}