blob: 7129ed8ce0f874730235c99896f7e9d90f666505 (
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
|
# Maintainer: Maxr1998 <aur@maxr1998.de>
_pkgbase=simple-shutdown-dialog
pkgname=simple-shutdown-dialog-git
pkgver=20.d5c6eb0
pkgrel=1
pkgdesc="A simple dialog to shutdown, reboot, suspend or logout, built with GTK"
arch=('x86_64' 'i686')
url="https://github.com/Maxr1998/SimpleShutdownDialog"
license=('GPL')
depends=('gtk3')
provides=('simple-shutdown-dialog')
source=("$_pkgbase::git+$url.git")
sha256sums=("SKIP")
pkgver() {
cd "$_pkgbase"
printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_pkgbase"
make
}
package() {
cd "$_pkgbase"
install -Dm755 shutdown-dialog "$pkgdir"/usr/bin/shutdown-dialog
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}
|