[arch-commits] Commit in appstream (4 files)

Antonio Rojas arojas at archlinux.org
Wed Jan 21 07:57:35 UTC 2015


    Date: Wednesday, January 21, 2015 @ 08:57:35
  Author: arojas
Revision: 126341

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

Added:
  appstream/repos/
  appstream/repos/community-i686/
  appstream/repos/community-i686/PKGBUILD
    (from rev 126340, appstream/trunk/PKGBUILD)
  appstream/repos/community-x86_64/

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

Copied: appstream/repos/community-i686/PKGBUILD (from rev 126340, appstream/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2015-01-21 07:57:35 UTC (rev 126341)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Jameson Pugh <imntreal at gmail.com>
+# Contributor: Tim Jester-Pfadt <t.jp<at>gmx.de>
+
+pkgbase=appstream
+pkgname=(appstream appstream-qt)
+pkgver=0.7.6
+pkgrel=1
+pkgdesc="Provides a standard for creating app stores across distributions"
+arch=('i686' 'x86_64')
+url="http://distributions.freedesktop.org/wiki/AppStream"
+license=('GPL')
+depends=('xapian-core' 'polkit' 'libyaml' 'libxml2' 'qt5-base')
+makedepends=('cmake' 'xmlto' 'intltool' 'gobject-introspection' 'python2' 'docbook-xsl')
+source=("http://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz")
+sha256sums=('7b3b907049ae908a3dd240b5ea7f814988d80d8fe44fa93eee4e2d3d4517ce30')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+
+  cmake ../AppStream-$pkgver -DQT=ON -DAPPSTREAM_QT_VERSION=5 -DCMAKE_INSTALL_LIBDIR=lib
+  make
+}
+
+package_appstream() {
+  cd build
+
+  make DESTDIR="$pkgdir" install
+  
+# provided by -qt subpackage
+  rm -r "$pkgdir"/usr/{include/AppstreamQt,lib/cmake,lib/libAppstreamQt.*}
+}
+
+package_appstream-qt() {
+  pkgdesc=('Qt5 interface for AppStream')
+  depends=('appstream')
+
+  cd build/qt
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list