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

Felix Yan felixonmars at archlinux.org
Fri Nov 9 22:23:36 UTC 2018


    Date: Friday, November 9, 2018 @ 22:23:35
  Author: felixonmars
Revision: 404947

archrelease: copy trunk to community-staging-any

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

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

Copied: smuxi/repos/community-staging-any/PKGBUILD (from rev 404945, smuxi/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 22:23:35 UTC (rev 404947)
@@ -0,0 +1,60 @@
+# 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=1.0.7
+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{,.asc})
+validpgpkeys=('ABE195E150A8DBE7809D3F427127E5ABEEF946C8') # Mirco Bauer
+sha256sums=('f6a6621d421694af71a93705bef0f70175901f52299e2205518c37cbe9881ab0'
+            'SKIP')
+
+build() {
+  cd $pkgbase-$pkgver
+
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+              --enable-frontend-stfl \
+              --with-vendor-package-version="Arch Linux $pkgver-$pkgrel"
+  LANG=C make -j1
+}
+
+package_smuxi-server() {
+  pkgdesc+=" (common files and server)"
+  depends=('log4net' 'nini')
+  cd $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/{appdata,applications,icons} \
+     "$pkgdir"/usr/share/man/man1/smuxi-frontend* \
+     "$srcdir/frontend/"
+}
+
+package_smuxi() {
+  pkgdesc+=" (frontend)" 
+  depends=('smuxi-server' 'notify-sharp' 'gtkspell' 'stfl')
+  cd 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 {appdata,applications,icons} "$pkgdir/usr/share"
+}


More information about the arch-commits mailing list