[arch-commits] Commit in mlite/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 21:56:12 UTC 2018


    Date: Friday, November 9, 2018 @ 21:56:12
  Author: felixonmars
Revision: 404792

archrelease: copy trunk to community-staging-x86_64

Added:
  mlite/repos/community-staging-x86_64/
  mlite/repos/community-staging-x86_64/PKGBUILD
    (from rev 404791, mlite/trunk/PKGBUILD)

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

Copied: mlite/repos/community-staging-x86_64/PKGBUILD (from rev 404791, mlite/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 21:56:12 UTC (rev 404792)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=mlite
+pkgver=0.2.23
+pkgrel=2
+pkgdesc="Useful classes originating from MeeGo Touch"
+arch=('x86_64')
+url="http://github.com/nemomobile/mlite"
+license=('LGPL')
+depends=('qt5-base' 'dconf')
+makedepends=('git' 'qt5-tools')
+source=("git+https://git.merproject.org/mer-core/mlite.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  cd mlite
+  sed -i -e 's|/usr/libexec|/usr/lib|' \
+      tools/mliteremoteaction/mliteremoteaction.pro \
+      tools/mliteremoteaction/main.cpp \
+      src/mremoteaction.cpp
+}
+
+build() {
+  cd mlite
+
+  qmake-qt5
+  make
+}
+
+package() {
+  cd mlite
+
+  make INSTALL_ROOT="${pkgdir}" install
+
+  # Remove tests
+  rm -r "$pkgdir/opt"
+}



More information about the arch-commits mailing list