[arch-commits] Commit in licq/repos (4 files)

Eric Bélanger eric at archlinux.org
Wed Sep 3 01:30:38 UTC 2014


    Date: Wednesday, September 3, 2014 @ 03:30:38
  Author: eric
Revision: 220920

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  licq/repos/staging-i686/
  licq/repos/staging-i686/PKGBUILD
    (from rev 220919, licq/trunk/PKGBUILD)
  licq/repos/staging-x86_64/
  licq/repos/staging-x86_64/PKGBUILD
    (from rev 220919, licq/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   45 +++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

Copied: licq/repos/staging-i686/PKGBUILD (from rev 220919, licq/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2014-09-03 01:30:38 UTC (rev 220920)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Juergen Hoetzel <juergen at archlinux.org>
+
+pkgname=licq
+pkgver=1.8.2
+pkgrel=3
+pkgdesc="Advanced graphical ICQ clone and more for Unix"
+arch=('i686' 'x86_64')
+url="http://www.licq.org"
+license=('GPL')
+depends=('boost-libs' 'gpgme' 'libxss' 'qt4')
+makedepends=('cmake' 'boost' 'optipng')
+source=(http://downloads.sourceforge.net/sourceforge/licq/licq-${pkgver}.tar.bz2)
+md5sums=('46af2bc95865ee61a103d27812fe6e6a')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  mkdir build
+
+  # Fix invalid PNG images to work with libpng 1.6
+  # https://github.com/licq-im/licq/pull/32
+  optipng -quiet -force -fix plugins/qt4-gui/share/skins/Mirabilis/*.png
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  local licq_plugins="auto-reply icq rms msn qt4-gui" # osd jabber aosd
+  
+  local plugins="" _plugin
+  for _plugin in ${licq_plugins}; do
+    plugins+=" ${_plugin}\/CMakeLists.txt"
+  done
+  sed -i -e "s/file(GLOB cmake_plugins.*$/set(cmake_plugins ${plugins})/" plugins/CMakeLists.txt
+
+  cd build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DUSE_FIFO=ON -DBUILD_PLUGINS=ON  ..
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}/build"
+  make DESTDIR="${pkgdir}" install
+}

Copied: licq/repos/staging-x86_64/PKGBUILD (from rev 220919, licq/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2014-09-03 01:30:38 UTC (rev 220920)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Juergen Hoetzel <juergen at archlinux.org>
+
+pkgname=licq
+pkgver=1.8.2
+pkgrel=3
+pkgdesc="Advanced graphical ICQ clone and more for Unix"
+arch=('i686' 'x86_64')
+url="http://www.licq.org"
+license=('GPL')
+depends=('boost-libs' 'gpgme' 'libxss' 'qt4')
+makedepends=('cmake' 'boost' 'optipng')
+source=(http://downloads.sourceforge.net/sourceforge/licq/licq-${pkgver}.tar.bz2)
+md5sums=('46af2bc95865ee61a103d27812fe6e6a')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  mkdir build
+
+  # Fix invalid PNG images to work with libpng 1.6
+  # https://github.com/licq-im/licq/pull/32
+  optipng -quiet -force -fix plugins/qt4-gui/share/skins/Mirabilis/*.png
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  local licq_plugins="auto-reply icq rms msn qt4-gui" # osd jabber aosd
+  
+  local plugins="" _plugin
+  for _plugin in ${licq_plugins}; do
+    plugins+=" ${_plugin}\/CMakeLists.txt"
+  done
+  sed -i -e "s/file(GLOB cmake_plugins.*$/set(cmake_plugins ${plugins})/" plugins/CMakeLists.txt
+
+  cd build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DUSE_FIFO=ON -DBUILD_PLUGINS=ON  ..
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}/build"
+  make DESTDIR="${pkgdir}" install
+}




More information about the arch-commits mailing list