Date: Tuesday, February 13, 2018 @ 14:08:43
  Author: arojas
Revision: 316788

archrelease: copy trunk to staging-x86_64

Added:
  qt5-remoteobjects/repos/staging-x86_64/
  qt5-remoteobjects/repos/staging-x86_64/PKGBUILD
    (from rev 316787, qt5-remoteobjects/trunk/PKGBUILD)

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

Copied: qt5-remoteobjects/repos/staging-x86_64/PKGBUILD (from rev 316787, 
qt5-remoteobjects/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2018-02-13 14:08:43 UTC (rev 316788)
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 293803 2017-04-21 11:54:59Z arojas $
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Maintainer: Antonio Rojas <aro...@archlinux.org>
+
+pkgname=qt5-remoteobjects
+_qtver=5.10.1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(x86_64)
+url='http://qt-project.org/'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Inter-process communication (IPC) module developed for Qt'
+depends=(qt5-base)
+makedepends=(qt5-declarative)
+optdepends=('qt5-declarative: QML bindings')
+groups=(qt qt5)
+_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz";)
+sha256sums=('e9da0b8aca4223c2d2f6ab5b5c9ff6c9acfe47003837bab08169919d8f504e14')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+
+  qmake ../${_pkgfqn}
+  make
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="$pkgdir" install
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "$pkgdir/usr/lib" -type f -name '*.prl' \
+    -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}

Reply via email to