diff options
author | Daniel Egeberg | 2018-08-26 17:05:33 +0200 |
---|---|---|
committer | Daniel Egeberg | 2018-08-26 17:05:33 +0200 |
commit | 90ae0e3ecbddb51f780b45752c779e70208fe07a (patch) | |
tree | 47491db8848db33394d3deffb70759041324ff3a | |
download | aur-90ae0e3ecbddb51f780b45752c779e70208fe07a.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4111713a88f1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Sun Aug 26 15:05:28 UTC 2018 +pkgbase = qt5-pmp-x11extras + pkgdesc = Provides platform-specific APIs for X11 (for plex-media-player) + pkgver = 5.9.5 + pkgrel = 1 + url = http://qt-project.org/ + arch = x86_64 + groups = qt5-pmp + license = GPL3 + license = LGPL3 + license = FDL + license = custom + depends = qt5-pmp-base + 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-pmp-x11extras + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0df3edcef096 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Daniel Egeberg <daniel.egeberg@gmail.com> +# Contributor:: Felix Yan <felixonmars@archlinux.org> +# Contributor: Andrea Scarpino <andrea@archlinux.org> + +pkgname=qt5-pmp-x11extras +_qtver=5.9.5 +pkgver=${_qtver/-/} +pkgrel=1 +arch=('x86_64') +url='http://qt-project.org/' +license=('GPL3' 'LGPL3' 'FDL' 'custom') +pkgdesc='Provides platform-specific APIs for X11 (for plex-media-player)' +depends=('qt5-pmp-base') +makedepends=() +groups=('qt5-pmp') +_pkgfqn="${pkgname/5-pmp-/}-opensource-src-${_qtver}" +source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") +sha256sums=('2be254e7e94be38b1847eccf63f1dcf2298fb6391b145235db74dcf81d026008') + +prepare() { + mkdir -p build +} + +build() { + cd build + + /opt/qt5-pmp/usr/bin/qmake ../${_pkgfqn} + make +} + +package() { + cd build + make INSTALL_ROOT="$pkgdir" install + + # Drop QMAKE_PRL_BUILD_DIR because reference the build dir + find "$pkgdir/opt/qt5-pmp/usr/lib" -type f -name '*.prl' \ + -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; + + install -d "$pkgdir"/opt/qt5-pmp/usr/share/licenses + ln -s /opt/qt5-pmp/usr/share/licenses/qt5-base "$pkgdir"/opt/qt5-pmp/usr/share/licenses/${pkgname} +} |