archrelease: copy trunk to extra-x86_64
[arch-packages.git] / qt5-imageformats / trunk / PKGBUILD
blob83ead337d3e42d894de8f5037eaf19acd07fbf3f
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
4 pkgname=qt5-imageformats
5 _qtver=5.15.2
6 pkgver=${_qtver/-/}
7 pkgrel=1
8 arch=('x86_64')
9 url='https://www.qt.io'
10 license=('GPL3' 'LGPL3' 'FDL' 'custom')
11 pkgdesc='Plugins for additional image formats: TIFF, MNG, TGA, WBMP'
12 depends=('qt5-base' 'jasper' 'libmng' 'libwebp')
13 makedepends=()
14 groups=('qt' 'qt5')
15 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
16 source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
17 sha256sums=('bf8285c7ce04284527ab823ddc7cf48a1bb79131db3a7127342167f4814253d7')
19 prepare() {
20   mkdir -p build
23 build() {
24   cd build
26   qmake ../${_pkgfqn}
27   make
30 package() {
31   cd build
32   make INSTALL_ROOT="$pkgdir" install
34   install -d "$pkgdir"/usr/share/licenses
35   ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}