[arch-commits] Commit in licq/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Mon Jul 8 14:22:31 UTC 2013
Date: Monday, July 8, 2013 @ 16:22:30
Author: bpiotrowski
Revision: 189814
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
licq/repos/staging-i686/
licq/repos/staging-i686/PKGBUILD
(from rev 189813, licq/trunk/PKGBUILD)
licq/repos/staging-x86_64/
licq/repos/staging-x86_64/PKGBUILD
(from rev 189813, licq/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 94 insertions(+)
Copied: licq/repos/staging-i686/PKGBUILD (from rev 189813, licq/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2013-07-08 14:22:30 UTC (rev 189814)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Juergen Hoetzel <juergen at archlinux.org>
+
+pkgname=licq
+pkgver=1.7.1
+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')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/sourceforge/licq/licq-${pkgver}.tar.bz2)
+md5sums=('701e57efedc2b7ece64c3d2d2e9f9e16')
+
+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/staging-x86_64/PKGBUILD (from rev 189813, licq/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2013-07-08 14:22:30 UTC (rev 189814)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Juergen Hoetzel <juergen at archlinux.org>
+
+pkgname=licq
+pkgver=1.7.1
+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')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/sourceforge/licq/licq-${pkgver}.tar.bz2)
+md5sums=('701e57efedc2b7ece64c3d2d2e9f9e16')
+
+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