-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPKGBUILD
45 lines (38 loc) · 1.67 KB
/
PKGBUILD
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: Fabian Pack <[email protected]>
# Contributor: Klaas Boesche <[email protected]>
# Contributor: Alexandre Isoard <[email protected]>
pkgname=i3-cinnamon
_pkgname=i3
pkgver=0.4
pkgrel=2
pkgdesc="Run i3 with cinnamon-session and cinnamon-settings-daemon"
url="https://github.com/Gigadoc2/i3-cinnamon"
arch=('any')
license=('GPL')
depends=("i3-wm>=4.0" "desktop-file-utils" "cinnamon-session>=3.8" "cinnamon-settings-daemon>=3.8" "cinnamon-screensaver" "polkit-gnome")
optdepends=('cinnamon: To change cinnamon settings via UI')
install=$pkgname.install
source=("$pkgname-xsession.desktop" "$pkgname" "$pkgname-app.desktop" "$pkgname.session" "cinnamon-session-$_pkgname")
md5sums=('b8f975696b7a7421f7f517018115e9a2'
'0fb6c682b44e464ba5cd569e31694aba'
'c69924f5975d9cc15fe04e68dd7f7195'
'd02c17e8d550e78e5da6dc0f869c6ff9'
'9c9077b4819c331ccecdebb498c5e7c6')
package() {
msg "Install $pkgname in xsessions"
install -D -m 644 "$srcdir/$pkgname-xsession.desktop" \
"$pkgdir/usr/share/xsessions/$pkgname.desktop"
msg "Install $pkgname in cinnamon-session/sessions"
install -D -m 644 "$srcdir/$pkgname.session" \
"$pkgdir/usr/share/cinnamon-session/sessions/$pkgname.session"
msg "Install $pkgname in /usr/share/applications"
install -D -m 644 "$srcdir/$pkgname-app.desktop" \
"$pkgdir/usr/share/applications/$pkgname.desktop"
msg "Install $pkgname in /usr/bin"
install -D -m 755 "$srcdir/$pkgname" \
"$pkgdir/usr/bin/$pkgname"
msg "Install cinnamon-session-$_pkgname in /usr/bin"
install -D -m 755 "$srcdir/cinnamon-session-$_pkgname" \
"$pkgdir/usr/bin/cinnamon-session-$_pkgname"
}
# vim:set ts=2 sw=2 et: