[arch-commits] Commit in licq/repos (4 files)
Felix Yan
fyan at nymeria.archlinux.org
Fri Jul 4 08:28:52 UTC 2014
Date: Friday, July 4, 2014 @ 10:28:51
Author: fyan
Revision: 216483
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
licq/repos/testing-i686/
licq/repos/testing-i686/PKGBUILD
(from rev 216482, licq/trunk/PKGBUILD)
licq/repos/testing-x86_64/
licq/repos/testing-x86_64/PKGBUILD
(from rev 216482, licq/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 92 insertions(+)
Copied: licq/repos/testing-i686/PKGBUILD (from rev 216482, licq/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2014-07-04 08:28:51 UTC (rev 216483)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Juergen Hoetzel <juergen at archlinux.org>
+
+pkgname=licq
+pkgver=1.8.2
+pkgrel=1
+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 {,plugins/qt4-gui/}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}"
+
+ # licq
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ make
+
+ # qt4-gui
+ cd ../plugins/qt4-gui/build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_MODULE_PATH="${srcdir}/${pkgname}-${pkgver}/cmake" ..
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}/build"
+ make DESTDIR="${pkgdir}" install
+
+ cd ../plugins/qt4-gui/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: licq/repos/testing-x86_64/PKGBUILD (from rev 216482, licq/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-07-04 08:28:51 UTC (rev 216483)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Juergen Hoetzel <juergen at archlinux.org>
+
+pkgname=licq
+pkgver=1.8.2
+pkgrel=1
+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 {,plugins/qt4-gui/}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}"
+
+ # licq
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ make
+
+ # qt4-gui
+ cd ../plugins/qt4-gui/build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_MODULE_PATH="${srcdir}/${pkgname}-${pkgver}/cmake" ..
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}/build"
+ make DESTDIR="${pkgdir}" install
+
+ cd ../plugins/qt4-gui/build
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list