diff options
author | Cian Mc Govern | 2020-01-05 00:29:18 +0000 |
---|---|---|
committer | Cian Mc Govern | 2020-01-05 00:29:18 +0000 |
commit | 6fbedd6686354dd8d3fc6d90faa49c4ff11844bb (patch) | |
tree | 3e39e11760be85b9e5f963c9323b23326e4c761e | |
download | aur-6fbedd6686354dd8d3fc6d90faa49c4ff11844bb.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 43 |
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cd324172bae5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = qt5-x11extras-595 + pkgdesc = Provides platform-specific APIs for X11 (v5.9.5) + pkgver = 5.9.5 + pkgrel = 1 + url = http://qt-project.org/ + arch = i686 + arch = x86_64 + license = GPL3 + license = LGPL3 + license = FDL + license = custom + depends = qt5-base-595 + source = http://download.qt.io/official_releases/qt/5.9/5.9.5/submodules/qtx11extras-opensource-src-5.9.5.tar.xz + sha256sums = 2be254e7e94be38b1847eccf63f1dcf2298fb6391b145235db74dcf81d026008 + +pkgname = qt5-x11extras-595 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..84e5080e6e6b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Cian McGovern <cian@cianmcgovern.com> +# Contributor: Felix Yan <felixonmars@archlinux.org> +# Contributor: Andrea Scarpino <andrea@archlinux.org> + +pkgname=qt5-x11extras-595 +_qtver=5.9.5 +pkgver=${_qtver/-/} +pkgrel=1 +arch=('i686' 'x86_64') +url='http://qt-project.org/' +license=('GPL3' 'LGPL3' 'FDL' 'custom') +pkgdesc='Provides platform-specific APIs for X11 (v5.9.5)' +depends=('qt5-base-595') +makedepends=() +_pkgfqn="qtx11extras-opensource-src-${_qtver}" +source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") +sha256sums=('2be254e7e94be38b1847eccf63f1dcf2298fb6391b145235db74dcf81d026008') + +prepare() { + mkdir -p build +} + +build() { + QT_BASE_DIR=/opt/qt595 + export QTDIR=$QT_BASE_DIR + export PATH=$QT_BASE_DIR/bin:$PATH + 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/opt/qt595/lib" -type f -name '*.prl' \ + -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; + + install -d "$pkgdir"/opt/qt595/share/licenses + ln -s /opt/qt595/share/licenses/qt5-base "$pkgdir"/opt/qt595/share/licenses/${pkgname} +} |