blob: 4407e9aa1a8c62482f9c7bcd95dbafb06af58bf7 (
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
39
40
|
# Maintainer: Jonian Guveli <jonian@hardpixel.eu>
# Contributor: Kewl <lfxm@bmup.fv.psh (rot1)>
# Contributor: Bjoern Franke <bjo@nord-west.org>
_watch=("https://www.xnview.com/en/xnconvert" ">Version (\d[\d.]*\d+)\b")
pkgname=xnconvert
pkgver=1.102.0
pkgrel=1
pkgdesc="A powerful batch image-converter and resizer."
url="https://www.xnview.com/en/xnconvert"
arch=("x86_64" "i686")
license=("custom")
depends=("qt5-svg" "qt5-sensors" "libwebp" "gtk3")
source=(
"${pkgname}.desktop"
"icons.tar.gz"
"XnConvert-linux-x64_${pkgver}.tgz::https://download.xnview.com/old_versions/XnConvert/XnConvert-${pkgver}-linux-x64.tgz"
)
sha256sums=(
'3c85bfca539dd2e4b0310eead5a50aae6ed66a5a63b370dd1b622043c69a15b5'
'2ff8c57a0603c1811de45df55df59c0abdd77a15d61a9482789c9c78ce6cdf74'
'a1500dd37d0f7596773af8db1b80ec59027e25c98f2d3e221cf8703df80ee156'
)
package() {
install -dm755 "${pkgdir}/opt/${pkgname}"
cp -dr XnConvert/* "${pkgdir}/opt/${pkgname}"
install -dm755 "${pkgdir}/usr/bin"
ln -s /opt/${pkgname}/xnconvert.sh "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm644 XnConvert/license.txt "${pkgdir}/usr/share/licenses/$pkgname/license.txt"
install -dm755 "$pkgdir/usr/share/icons"
cp -a "$srcdir/icons/." "$pkgdir/usr/share/icons/hicolor"
cp -a "$srcdir/icons/." "$pkgdir/usr/share/icons/gnome"
rm "${pkgdir}/opt/${pkgname}/XnConvert.desktop"
}
|