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 +}