Date: Wednesday, January 21, 2015 @ 08:57:02 Author: arojas Revision: 126340
Add appstream (dependency of muon) Added: appstream/ appstream/trunk/ appstream/trunk/PKGBUILD ----------+ PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) Added: appstream/trunk/PKGBUILD =================================================================== --- appstream/trunk/PKGBUILD (rev 0) +++ appstream/trunk/PKGBUILD 2015-01-21 07:57:02 UTC (rev 126340) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Jameson Pugh <imntr...@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 +} Property changes on: appstream/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property