blob: 1e018f50abe740077e85d40e0ea1bd5fe34fa87b (
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
42
43
44
45
|
# Maintainer: Simone Scalabrino <s.scalabrino9@gmail.com>
_appname="google-calendar"
_appdesc="Standalone silo app for Google Calendar"
_gittag="0.3"
_gitname=silos-apps
pkgname="silo-${_appname}"
pkgver=$_gittag
pkgrel=1
pkgdesc="${_appdesc}"
arch=('i686' 'x86_64')
url="https://github.com/intersimone999/${_gitname}"
license=('GPL3')
depends=('silos')
makedepends=('git')
source=("git+$url.git")
sha256sums=('SKIP')
package() {
cd "${srcdir}/${_gitname}/${_appname}"
basefolder="/usr/share/silos-apps"
iconsfolder="${basefolder}/icons"
for f in ${srcdir}/${_gitname}/${_appname}/icons/*.svg
do
target=$(basename "$f")
install -Dm755 "$f" "${pkgdir}/usr/share/pixmaps/silo-$target"
install -Dm755 "$f" "${pkgdir}/${iconsfolder}/$target"
done
for f in ${srcdir}/${_gitname}/${_appname}/desktops/*.desktop
do
target=$(basename "$f")
install -Dm755 "$f" "${pkgdir}/usr/share/applications/silo-$target"
done
appsfolder="${basefolder}/apps"
for f in ${srcdir}/${_gitname}/${_appname}/apps/*.qtws
do
target=$(basename "$f")
install -Dm755 "$f" "${pkgdir}/${appsfolder}/$target"
done
}
|