[arch-commits] Commit in libcontentaction/repos (4 files)

Felix Yan fyan at archlinux.org
Fri Oct 16 07:51:10 UTC 2015


    Date: Friday, October 16, 2015 @ 09:51:10
  Author: fyan
Revision: 144229

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

Added:
  libcontentaction/repos/community-i686/
  libcontentaction/repos/community-i686/PKGBUILD
    (from rev 144228, libcontentaction/trunk/PKGBUILD)
  libcontentaction/repos/community-x86_64/
  libcontentaction/repos/community-x86_64/PKGBUILD
    (from rev 144228, libcontentaction/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   35 +++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

Copied: libcontentaction/repos/community-i686/PKGBUILD (from rev 144228, libcontentaction/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-10-16 07:51:10 UTC (rev 144229)
@@ -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"
+}

Copied: libcontentaction/repos/community-x86_64/PKGBUILD (from rev 144228, libcontentaction/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-10-16 07:51:10 UTC (rev 144229)
@@ -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"
+}



More information about the arch-commits mailing list