summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8049e5310f2c0b70eb39660fcacfb02b494c55b0 (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
# Maintainer: Jon Gjengset <jon@tsp.io>
pkgname=session-desktop-files
pkgver=0.6
pkgrel=2
pkgdesc=".desktop launch files for common session operations (log out, shutdown, reboot)"
arch=('any')
url="https://wiki.archlinux.org/index.php/Desktop_Entries"
license=('MIT')
depends=('wmctrl')
makedepends=('desktop-file-utils')
source=('shutdown.desktop' 'reboot.desktop' 'logout.desktop')
md5sums=('0b96617dd2ba9ceab94c3252c69c9941'
         '0a16e48fd4b2e01407b31cfe5deb425c'
         'cf8084d9540155104aeca020f47947c7')

prepare() {
	:
}

build() {
	:
}

check() {
	cd "$srcdir"
	desktop-file-validate shutdown.desktop reboot.desktop logout.desktop
}

package() {
	cd "$srcdir"
	install -D shutdown.desktop "$pkgdir"/usr/share/applications/shutdown.desktop
	install -D reboot.desktop "$pkgdir"/usr/share/applications/reboot.desktop
	install -D logout.desktop "$pkgdir"/usr/share/applications/logout.desktop
}