summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLuca Weiss2016-05-03 10:32:42 +0200
committerLuca Weiss2016-05-03 10:32:42 +0200
commit6b88c6a421a25f9f71fdf065ee708f609f167322 (patch)
tree05787642657cb52fc2dffefc21293c55a64e6115 /PKGBUILD
downloadaur-6b88c6a421a25f9f71fdf065ee708f609f167322.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..462ff9ae759
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Luca Weiss <WEI16416@spengergasse.at>
+pkgname=qtshutdownmenu-git
+pkgver=r3.c08b4f7
+pkgrel=1
+pkgdesc="Graphical shutdown util with PyQt5 and lock script for i3"
+arch=('any')
+url="https://github.com/z3ntu/qtshutdownmenu"
+license=('MIT')
+depends=('python' 'python-pyqt5' 'ttf-liberation' 'imagemagick' 'scrot' 'i3lock')
+options=(!emptydirs)
+source=(git+https://github.com/z3ntu/qtshutdownmenu)
+md5sums=(SKIP)
+
+pkgver() {
+ cd "$srcdir/qtshutdownmenu"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir/qtshutdownmenu"
+ mkdir -p "$pkgdir/usr/bin"
+ mkdir -p "$pkgdir/usr/share/icons"
+ install -Dm755 "shutdownmenu.py" "$pkgdir/usr/bin/qtshutdownmenu"
+ install -Dm755 "lock.sh" "$pkgdir/usr/bin/lock"
+ install -Dm755 "icon.png" "$pkgdir/usr/share/icons/lock.png"
+}
+