[arch-commits] Commit in conky-manager/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 16:00:08 UTC 2020
Date: Tuesday, July 7, 2020 @ 16:00:07
Author: felixonmars
Revision: 659069
archrelease: copy trunk to community-staging-x86_64
Added:
conky-manager/repos/community-staging-x86_64/
conky-manager/repos/community-staging-x86_64/PKGBUILD
(from rev 659068, conky-manager/trunk/PKGBUILD)
conky-manager/repos/community-staging-x86_64/makefile-roundup.patch
(from rev 659068, conky-manager/trunk/makefile-roundup.patch)
------------------------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
makefile-roundup.patch | 45 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 80 insertions(+)
Copied: conky-manager/repos/community-staging-x86_64/PKGBUILD (from rev 659068, conky-manager/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 16:00:07 UTC (rev 659069)
@@ -0,0 +1,35 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+
+pkgname=conky-manager
+pkgver=2.4
+_ubuntu=~136~ubuntu16.04.1
+pkgrel=4
+pkgdesc="GUI for managing Conky config files with options to browse and edit themes"
+url="https://launchpad.net/conky-manager"
+arch=('x86_64')
+license=('GPL3')
+depends=('cairo' 'conky' 'desktop-file-utils' 'gtk3' 'imagemagick' 'json-glib' 'libgee' 'p7zip' 'rsync')
+makedepends=('vala')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}-${_ubuntu}.tar.xz::https://launchpad.net/~teejee2008/+archive/ubuntu/ppa/+files/${pkgname}_${pkgver}${_ubuntu}.tar.xz
+ makefile-roundup.patch)
+sha512sums=('777ef3e627212f65b96e7bc5cf959912de9f6c2e03d4582d597cbf64b202a23f8311b6d56f57e411ff84df8e5600e2c5b1a7d15aa5dc6fd834beb4ff4bb493cb'
+ '3ce1bdcabfd9ee4713ed45a5d7b0dd913b69a0623f96c3aa4a49737ee685330aa7b4a9a369f7e4bd584e41d7eacbbaa9be6fff36db39186026c73bfb672ffc25')
+
+prepare() {
+ cd ${pkgname}-${pkgver}${_ubuntu}
+ patch -Np0 < "${srcdir}/makefile-roundup.patch"
+}
+
+build() {
+ cd ${pkgname}-${pkgver}${_ubuntu}
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}${_ubuntu}
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
Copied: conky-manager/repos/community-staging-x86_64/makefile-roundup.patch (from rev 659068, conky-manager/trunk/makefile-roundup.patch)
===================================================================
--- community-staging-x86_64/makefile-roundup.patch (rev 0)
+++ community-staging-x86_64/makefile-roundup.patch 2020-07-07 16:00:07 UTC (rev 659069)
@@ -0,0 +1,45 @@
+--- src/makefile 2015-10-22 22:12:09.111700293 +0200
++++ src/makefile 2015-10-22 22:12:29.688347815 +0200
+@@ -11,7 +11,7 @@
+
+ all:
+ #build binaries
+- valac -X -D'GETTEXT_PACKAGE="${app_name}"' --Xcc="-lm" -X -Wl,-rpath,/usr/share/${app_name}/libs "Main.vala" "MainWindow.vala" "EditWidgetWindow.vala" "EditThemeWindow.vala" "SettingsWindow.vala" "DonationWindow.vala" "GeneratePreviewWindow.vala" "AboutWindow.vala" "Utility.vala" -o ${app_name} --pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix --pkg gtk+-3.0 --pkg gee-0.8 --pkg json-glib-1.0
++ valac -X -D'GETTEXT_PACKAGE="${app_name}"' --Xcc="-lm" "Main.vala" "MainWindow.vala" "EditWidgetWindow.vala" "EditThemeWindow.vala" "SettingsWindow.vala" "DonationWindow.vala" "GeneratePreviewWindow.vala" "AboutWindow.vala" "Utility.vala" -o ${app_name} --pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix --pkg gtk+-3.0 --pkg gee-0.8 --pkg json-glib-1.0
+
+ #update translation template
+ xgettext --language=C --keyword=_ --copyright-holder='Tony George (teejee2008 at gmail.com)' --package-name='${app_name}' --package-version='2.0' --msgid-bugs-address='teejee2008 at gmail.com' --escape --sort-output -o ../${app_name}.pot *.vala
+@@ -29,20 +29,20 @@
+
+ #binary
+ install -m 0755 ${app_name} "$(DESTDIR)$(bindir)"
+- install -m 0755 ${app_name}-uninstall "$(DESTDIR)$(bindir)"
+
+ #launcher
+- install -m 0755 ${app_name}.desktop "$(DESTDIR)$(launcherdir)"
++ install -m 644 ${app_name}.desktop "$(DESTDIR)$(launcherdir)"
+
+ #app icon
+- install -m 0755 share/pixmaps/${app_name}.png "$(DESTDIR)$(sharedir)/pixmaps"
++ install -m 644 share/pixmaps/${app_name}.png "$(DESTDIR)$(sharedir)/pixmaps"
+
+ #appdata.xml
+- install -m 0755 ${app_name}.appdata.xml "$(DESTDIR)$(sharedir)/appdata"
++ install -m 644 ${app_name}.appdata.xml "$(DESTDIR)$(sharedir)/appdata"
+
+ #shared files
+ cp -dpr --no-preserve=ownership -t "$(DESTDIR)$(sharedir)/${app_name}" ./share/${app_name}/*
+- chmod --recursive 0755 $(DESTDIR)$(sharedir)/${app_name}/*
++ chmod --recursive 644 $(DESTDIR)$(sharedir)/${app_name}/*
++ find $(DESTDIR)$(sharedir)/${app_name} -type d -exec chmod +x '{}' +
+
+ #translations
+ mkdir -p "$(DESTDIR)$(localedir)/cs_CZ/LC_MESSAGES"
+@@ -54,7 +54,6 @@
+ uninstall:
+ #binary
+ rm -f "$(DESTDIR)$(bindir)/${app_name}"
+- rm -f "$(DESTDIR)$(bindir)/${app_name}-uninstall"
+
+ #launcher
+ rm -f "$(DESTDIR)$(launcherdir)/${app_name}.desktop"
More information about the arch-commits
mailing list