[arch-commits] Commit in docky/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 23:10:06 UTC 2018


    Date: Friday, November 9, 2018 @ 23:10:06
  Author: felixonmars
Revision: 405171

archrelease: copy trunk to community-staging-any

Added:
  docky/repos/community-staging-any/
  docky/repos/community-staging-any/PKGBUILD
    (from rev 405170, docky/trunk/PKGBUILD)

----------+
 PKGBUILD |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

Copied: docky/repos/community-staging-any/PKGBUILD (from rev 405170, docky/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 23:10:06 UTC (rev 405171)
@@ -0,0 +1,58 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Jan "heftig" Steffens <jan.steffens at gmail.com>
+# Contributor: dieghen89 <dieghen89 at gmail.com>
+# Contributor: Alessio 'Bl at ster' Biancalana <dottorblaster at gmail.com>
+
+pkgname=docky
+pkgver=2.2.1.1
+pkgrel=4
+pkgdesc="Full fledged dock application that makes opening common applications and managing windows easier and quicker"
+url="https://launchpad.net/docky"
+arch=('any')
+license=('GPL')
+depends=('gconf-sharp' 'gkeyfile-sharp' 'gnome-keyring-sharp' 'librsvg' 'libwnck' 'mono-addins' 'notify-sharp')
+makedepends=('intltool' 'gio-sharp')
+source=("https://launchpad.net/$pkgname/2.2/$pkgver/+download/$pkgname-$pkgver.tar.xz"{,.asc})
+validpgpkeys=('E4884AEEDE4CC02043C3D8045DECDBA89270E723') # Rico Tzschichholz
+sha256sums=('3759c052a375dea4ab462669896d92acc6eb497197dd5a73ff30527d668dfbc6'
+            'SKIP')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # Fix build
+  sed -i 's/dmcs/mcs/' m4/shamrock/mono.m4
+
+  # Fix weather docklet
+  sed -i 's|http://xoap.weather.com/|http://wxdata.weather.com/|
+          s|http://www.weather.com/outlook/travel/businesstraveler/wxdetail/|https://weather.com/weather/today/l/|
+          s|"http://www.weather.com/outlook/travel/businesstraveler/map/" + location|"https://weather.com/weather/radar/interactive/l/" + WeatherController.EncodedCurrentLocation|' \
+    StandardPlugins/Weather/src/Sources/WeatherChannelWeatherSource.cs
+  sed -i '/GoogleWeatherSource/d' StandardPlugins/Weather/src/WeatherController.cs
+
+  # Fix trash docklet
+  sed -i -e '/"Restore Files"/d' -e 's/, (o, a) => RestoreFile (f)//' StandardPlugins/Trash/src/TrashDockItem.cs
+
+  # Fix bookmarks docklet
+  sed -i 's|".gtk-bookmarks"|".config/gtk-3.0/bookmarks"|' StandardPlugins/Bookmarks/src/BookmarksItemProvider.cs
+
+  # Disable broken docklets and services
+  sed -i -e '/BatteryMonitor/d' -e '/NetworkManager/d' -e '/NetworkMonitor/d' -e '/SessionManager/d' StandardPlugins/Makefile.am
+  sed -i '/System.Initialize/d' Docky.Services/Docky.Services/DockServices.cs
+  sed -i 's/NetworkConnected { get; private set; }/NetworkConnected = true;/' Docky.Services/Docky.Services/SystemService.cs
+
+  autoreconf -fi
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc \
+              --disable-schemas-install \
+              --with-gconf-schema-file-dir=/usr/share/gconf/schemas
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list