[arch-commits] Commit in qt5-translations/repos (testing-any testing-any/PKGBUILD)

Felix Yan fyan at archlinux.org
Thu Jun 9 08:28:36 UTC 2016


    Date: Thursday, June 9, 2016 @ 10:28:36
  Author: fyan
Revision: 269178

archrelease: copy trunk to testing-any

Added:
  qt5-translations/repos/testing-any/
  qt5-translations/repos/testing-any/PKGBUILD
    (from rev 269177, qt5-translations/trunk/PKGBUILD)

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

Copied: qt5-translations/repos/testing-any/PKGBUILD (from rev 269177, qt5-translations/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2016-06-09 08:28:36 UTC (rev 269178)
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qt5-translations
+_qtver=5.6.1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('any')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework (Translations)'
+depends=('qt5-base')
+makedepends=('qt5-tools')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
+md5sums=('cd589f8a334b3e7ad933babf64ed496e')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+
+  qmake ../${_pkgfqn}
+  make
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="$pkgdir" install
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}



More information about the arch-commits mailing list