From d8abb19eef28c8315fe041b48e4c26737fbcfe5c Mon Sep 17 00:00:00 2001 From: Ruakij Date: Tue, 2 Aug 2022 20:40:45 +0200 Subject: [PATCH] Initial build-file - not working This doesnt install as Build-files cannot/should not edit files in home-directories. Some other way has to be found. --- kde_screensaver_suspendscreen/PKGBUILD | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 kde_screensaver_suspendscreen/PKGBUILD diff --git a/kde_screensaver_suspendscreen/PKGBUILD b/kde_screensaver_suspendscreen/PKGBUILD new file mode 100644 index 0000000..76b6707 --- /dev/null +++ b/kde_screensaver_suspendscreen/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Ruakij +pkgname=kde_screensaver_suspendscreen-git +pkgver=v1.2.4.r0.g2e069fc +pkgrel=1 +epoch= +pkgdesc="KDE X11 event-script to have different screen-timeouts when session is locked vs unlocked" +arch=('any') +url="https://github.com/Ruakij/kde_screensaver_suspendscreen" +license=('AGPL3') +groups=() +depends=('xorg-xset' 'kconfig') +makedepends=('git') +checkdepends=() +optdepends=() +provides=("kde_screensaver_suspendscreen") +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("$pkgname::git+https://github.com/Ruakij/kde_screensaver_suspendscreen") +noextract=() +sha256sums=('SKIP') +validpgpkeys=() + +pkgver() { + cd "$pkgname" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +package() { + cd "$pkgname" + make DESTDIR="$pkgdir/${HOME}/" install +}