[arch-commits] Commit in smuxi/repos (3 files)

Jan de Groot jgc at archlinux.org
Thu Feb 26 13:17:20 UTC 2015


    Date: Thursday, February 26, 2015 @ 14:17:20
  Author: jgc
Revision: 128257

archrelease: copy trunk to community-staging-any

Added:
  smuxi/repos/community-staging-any/
  smuxi/repos/community-staging-any/PKGBUILD
    (from rev 128256, smuxi/trunk/PKGBUILD)
  smuxi/repos/community-staging-any/smuxi.install
    (from rev 128256, smuxi/trunk/smuxi.install)

---------------+
 PKGBUILD      |   61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 smuxi.install |   11 ++++++++++
 2 files changed, 72 insertions(+)

Copied: smuxi/repos/community-staging-any/PKGBUILD (from rev 128256, smuxi/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-02-26 13:17:20 UTC (rev 128257)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Madek <gonzaloseguel at gmail.com>
+# Contributor: Marcelo Cavalcante <marcelo at marcelocavalcante.net>
+# Contributor: Jens Kleikamp <jens at codes-concepts.com>
+# Contributor: Philipp Gildein <rmbl at openspeak-project.org>
+
+pkgbase=smuxi
+pkgname=('smuxi-server' 'smuxi')
+pkgver=0.11
+pkgrel=2
+pkgdesc="User-friendly and cross-platform IRC client for sophisticated users for GNOME/GTK+"
+arch=('any')
+url="https://smuxi.im/"
+license=('GPL')
+makedepends=('notify-sharp' 'log4net' 'nini' 'gtkspell' 'stfl' 'intltool')
+options=('!emptydirs')
+source=(https://smuxi.im/jaws/data/files/$pkgbase-$pkgver.tar.gz)
+md5sums=('a65d5ab884c85b2e11ece2c1a23148d5')
+
+build() {
+  cd "$srcdir/$pkgbase-$pkgver"
+
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+              --enable-frontend-stfl \
+              --with-vendor-package-version="Arch Linux $pkgver-$pkgrel" \
+              MCS=/usr/bin/dmcs
+  LANG=C make
+}
+
+package_smuxi-server() {
+  pkgdesc+=" (common files and server)"
+  depends=('log4net' 'nini')
+  cd "$srcdir/$pkgbase-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+
+  # Split frontend
+  [[ -d $srcdir/frontend ]] && rm -r "$srcdir/frontend/"
+  mkdir "$srcdir"/frontend
+  mv "$pkgdir"/usr/bin/smuxi-frontend-{gnome,stfl} \
+     "$pkgdir"/usr/lib/pkgconfig/smuxi-frontend.pc \
+     "$pkgdir"/usr/lib/smuxi/smuxi-frontend* \
+     "$pkgdir"/usr/share/{applications,icons} \
+     "$pkgdir"/usr/share/man/man1/smuxi-frontend* \
+     "$srcdir/frontend/"
+}
+
+package_smuxi() {
+  pkgdesc+=" (frontend)" 
+  depends=('smuxi-server' 'notify-sharp' 'gtkspell' 'stfl' 'hicolor-icon-theme' 'xdg-utils')
+  install=smuxi.install
+  cd "$srcdir/frontend"
+
+  mkdir -p "$pkgdir"/usr/{bin,lib/{pkgconfig,smuxi},share/man/man1}
+  mv smuxi-frontend-{gnome,stfl} "$pkgdir/usr/bin"
+  mv smuxi-frontend.pc "$pkgdir/usr/lib/pkgconfig"
+  mv smuxi-frontend*.1 "$pkgdir/usr/share/man/man1"
+  mv smuxi-frontend* "$pkgdir/usr/lib/smuxi"
+  mv {applications,icons} "$pkgdir/usr/share"
+}

Copied: smuxi/repos/community-staging-any/smuxi.install (from rev 128256, smuxi/trunk/smuxi.install)
===================================================================
--- community-staging-any/smuxi.install	                        (rev 0)
+++ community-staging-any/smuxi.install	2015-02-26 13:17:20 UTC (rev 128257)
@@ -0,0 +1,11 @@
+post_install() {
+  xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}



More information about the arch-commits mailing list