Browse Source

[testing] -> [extra] 'qt5-doc-5.12.0-1' move

master
artoo 11 months ago
parent
commit
3bb56b2a56
Signed by: artoo <artoo@artixlinux.org> GPG Key ID: 3292CD0BB0DB310B
2 changed files with 2 additions and 59 deletions
  1. +2
    -2
      qt5-doc/repos/extra-any/PKGBUILD
  2. +0
    -57
      qt5-doc/repos/testing-any/PKGBUILD

+ 2
- 2
qt5-doc/repos/extra-any/PKGBUILD View File

@@ -3,7 +3,7 @@
# Contributor: Michael Hansen <zrax0111 gmail com>

pkgname=qt5-doc
_qtver=5.11.2
_qtver=5.12.0
pkgver=${_qtver/-/}
pkgrel=1
arch=('any')
@@ -16,7 +16,7 @@ makedepends=('qt5-tools' 'python2' 'pciutils' 'libxtst' 'libxcursor' 'libxrandr'
groups=('qt' 'qt5')
_pkgfqn="qt-everywhere-src-${_qtver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz")
sha256sums=('c6104b840b6caee596fa9a35bc5f57f67ed5a99d6a36497b6fe66f990a53ca81')
sha256sums=('356f42d9087718f22f03d13d0c2cdfb308f91dc3cf0c6318bed33f2094cd9d6c')

prepare() {
cd ${_pkgfqn}

+ 0
- 57
qt5-doc/repos/testing-any/PKGBUILD View File

@@ -1,57 +0,0 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Michael Hansen <zrax0111 gmail com>

pkgname=qt5-doc
_qtver=5.12.0
pkgver=${_qtver/-/}
pkgrel=1
arch=('any')
url='http://qt-project.org/'
license=('GPL3' 'LGPL3' 'FDL' 'custom')
pkgdesc='A cross-platform application and UI framework (Documentation)'
depends=('qt5-base')
makedepends=('qt5-tools' 'python2' 'pciutils' 'libxtst' 'libxcursor' 'libxrandr' 'libxss' 'libxcomposite'
'gperf' 'nss' 'clang')
groups=('qt' 'qt5')
_pkgfqn="qt-everywhere-src-${_qtver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz")
sha256sums=('356f42d9087718f22f03d13d0c2cdfb308f91dc3cf0c6318bed33f2094cd9d6c')

prepare() {
cd ${_pkgfqn}

ln -s /usr/bin qttools/
ln -s /usr/bin/{rcc,uic,moc} qtbase/bin/

# Hack to force using python2
cd "$srcdir"
mkdir -p bin
ln -s /usr/bin/python2 bin/python
}

build() {
cd ${_pkgfqn}

export PATH="$srcdir/bin:$PATH"
PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource \
-prefix /usr \
-docdir /usr/share/doc/qt \
-headerdir /usr/include/qt \
-archdatadir /usr/lib/qt \
-datadir /usr/share/qt \
-sysconfdir /etc/xdg \
-examplesdir /usr/share/doc/qt/examples
make docs
}

package() {
cd ${_pkgfqn}
make INSTALL_ROOT="$pkgdir" install_docs

install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}

# Fix conflicts with qt5-examples
rm -r "$pkgdir"/usr/share/doc/qt/examples
}

Loading…
Cancel
Save