blob: 73afd2f4dc6f724d8be462f908cb30f55d2c19ab (
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=3.4.10
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/static/smart/download/${pkgname}/${pkgname}-generic-${pkgver//\./_}.tar.gz"
"${pkgname}.desktop")
sha256sums=('f1faee5a3ec7455b6c7dc142aac17200f7da47c15df1f51f51a25a2f606e43ed'
'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 smartsynchronize.pdf
# 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
}
|