blob: 67b09fe471c0053a42473942f4804815da414c5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Lukas Spies <lukas (at) photoqt _dot_ org>
# Contributor: archtux <antonio dot arias99999 at gmail dot com>
pkgname=photoqt-bin
_pkgname=photoqt
pkgver=4.7
pkgrel=1
pkgdesc="Fast and highly configurable image viewer with a simple and nice interface (binary release)"
arch=('x86_64')
url="http://photoqt.org/"
license=('GPL2')
conflicts=('photoqt')
provides=('photoqt')
depends=('exiv2' 'imagemagick' 'qt6-imageformats' 'qt6-multimedia' 'qt6-svg' 'qt6-declarative' 'qt6-location' 'qt6-positioning' 'libraw' 'hicolor-icon-theme' 'libarchive' 'kimageformats' 'pugixml' 'mpv' 'resvg' 'python-pychromecast' 'qt6-webengine' 'zxing-cpp' 'lcms2' 'freeimage' 'devil')
optdepends=('libqpsd-git: PSB/PSD support'
'xcftools: XCF support')
source=(https://photoqt.org/downloads/bin/$_pkgname-$pkgver.tar.gz)
sha256sums=('e67d690f2e4224fbd8e9f0523876ef1584c1b15fa088b6df0d5ff0d403c28e16')
package() {
cd $srcdir/$_pkgname-$pkgver
# install binary
install -Dm0755 -t "$pkgdir/usr/bin/" photoqt
# install desktop file
install -Dm0644 -t "$pkgdir/usr/share/applications/" org.photoqt.PhotoQt.desktop
# install metainfo
install -Dm0644 -t "$pkgdir/usr/share/metainfo/" org.photoqt.PhotoQt.metainfo.xml
# install icons
for size in 16x16 32x32 48x48 64x64 128x128 256x256 512x512 1024x1024; do
install -Dm0644 -t "$pkgdir/usr/share/icons/hicolor/$size/apps" "icons/$size/org.photoqt.PhotoQt.png"
done
}
|