[arch-commits] Commit in licq/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Apr 22 19:13:00 UTC 2015
Date: Wednesday, April 22, 2015 @ 21:12:59
Author: foutrelis
Revision: 237937
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
licq/repos/staging-i686/
licq/repos/staging-i686/PKGBUILD
(from rev 237936, licq/trunk/PKGBUILD)
licq/repos/staging-x86_64/
licq/repos/staging-x86_64/PKGBUILD
(from rev 237936, 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 237936, licq/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-04-22 19:12:59 UTC (rev 237937)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Juergen Hoetzel <juergen at archlinux.org>
+
+pkgname=licq
+pkgver=1.8.2
+pkgrel=5
+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 237936, licq/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-04-22 19:12:59 UTC (rev 237937)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Juergen Hoetzel <juergen at archlinux.org>
+
+pkgname=licq
+pkgver=1.8.2
+pkgrel=5
+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