[arch-commits] Commit in (4 files)

Felix Yan fyan at archlinux.org
Fri Oct 16 07:50:14 UTC 2015


    Date: Friday, October 16, 2015 @ 09:50:14
  Author: fyan
Revision: 144228

addpkg: libcontentaction 0.2.3-1

Added:
  libcontentaction/
  libcontentaction/repos/
  libcontentaction/trunk/
  libcontentaction/trunk/PKGBUILD

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

Added: libcontentaction/trunk/PKGBUILD
===================================================================
--- libcontentaction/trunk/PKGBUILD	                        (rev 0)
+++ libcontentaction/trunk/PKGBUILD	2015-10-16 07:50:14 UTC (rev 144228)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libcontentaction
+pkgver=0.2.3
+pkgrel=1
+pkgdesc="Library for associating content with actions"
+arch=('i686' 'x86_64')
+url="http://github.com/nemomobile/libcontentaction"
+license=('LGPL')
+depends=('qt5-systems' 'mlite')
+makedepends=('git' 'qt5-tools' 'python2')
+source=("git+https://github.com/nemomobile/libcontentaction.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  cd libcontentaction
+  find . -name '*.py' -o -name 'gen-regexps' -type f -exec sed -i 's@^#!.*python$@#!/usr/bin/python2@' {} +
+}
+
+build() {
+  cd libcontentaction
+
+  qmake-qt5
+  make
+}
+
+package() {
+  cd libcontentaction
+
+  make INSTALL_ROOT="${pkgdir}" install
+
+  # Remove tests
+  rm -r "$pkgdir/opt"
+}


Property changes on: libcontentaction/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list