blob: 86bef48d02195205466b5f23020aa39f0750db26 (
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
41
|
# Maintainer: Muflone http://www.muflone.com/contacts/english/
# Contributor: Alexey Stukalov <astukalov@gmail.com>
pkgname=smartsynchronize
pkgver=4.5.0
pkgrel=1
pkgdesc="Comparing Directories the Smart Way"
arch=("any")
url="https://www.syntevo.com/smartsynchronize/"
license=('custom')
depends=('java-runtime>=8' 'gtk3' 'gtk-update-icon-cache')
source=("https://www.syntevo.com/downloads/${pkgname}/${pkgname}-linux-${pkgver//\./_}.tar.gz"
"${pkgname}.desktop")
sha256sums=('6a955c1c8cf439187b32439f76bc55ad96e9586a2cf6c251d4c8755a5672f9f6'
'ee21447d20ef52b65f5becb7a004c10acb925d4219d42f3be2aae61115d9f52f')
package() {
# Install desktop file
install -m 755 -d "${pkgdir}/usr/share/applications"
install -m 755 -t "${pkgdir}/usr/share/applications" "${pkgname}.desktop"
cd "${pkgname}"
# Install license files
install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" license.html licenses/*
# Install documentation files
install -m 755 -d "${pkgdir}/usr/share/doc/${pkgname}"
install -m 644 -t "${pkgdir}/usr/share/doc/${pkgname}" readme-linux.txt changelog.txt
# Install launcher files
install -m 755 -d "${pkgdir}/usr/lib/${pkgname}/bin"
install -m 755 -t "${pkgdir}/usr/lib/${pkgname}/bin" bin/smartsynchronize.sh
install -m 755 -d "${pkgdir}/usr/bin"
ln -s "/usr/lib/${pkgname}/bin/smartsynchronize.sh" "${pkgdir}/usr/bin/${pkgname}"
# Install library files
install -m 755 -d "${pkgdir}/usr/lib/${pkgname}/lib"
install -m 644 -t "${pkgdir}/usr/lib/${pkgname}/lib" lib/*
# Install icon files
for _size in 32 48 64 128 256
do
install -m 644 -D "bin/${pkgname}-${_size}.png" "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/${pkgname}.png"
done
}
|