Last active
September 19, 2017 07:02
-
-
Save marcelhollerbach/8f77cb866d3484a27302debd92662d93 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Marcel Hollerbach mail@bu5hm4n.de | |
_pkgname=anna | |
pkgname=$_pkgname | |
pkgdesc="Spawny with a efl greeter" | |
pkgver=0.1 | |
pkgrel=1 | |
url="http://github.com/marcelhollerbach/anna" | |
arch=('i686' 'x86_64') | |
license=('BSD') | |
depends=('efl' 'protobuf-c') | |
makedepends=('git' 'meson') | |
provides=("$_pkgname=$pkgver") | |
conflicts=("$_pkgname") | |
source=("https://github.com/marcelhollerbach/anna/archive/v0.1.tar.gz" 'spawny.sysusers' 'spawny.install' 'spawny.tmpfiles') | |
install=spawny.install | |
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP') | |
build() { | |
cd "${srcdir}/${pkgname}-${pkgver}" | |
mkdir -p build | |
cd build | |
rm -rf ./* | |
meson .. | |
ninja all | |
} | |
check() { | |
cd "${srcdir}/${pkgname}-${pkgver}/build" | |
ninja test | |
} | |
package() { | |
cd "${srcdir}/${pkgname}-${pkgver}/build" | |
DESTDIR="$pkgdir" ninja install | |
install -D -m644 ${srcdir}/spawny.sysusers ${pkgdir}/usr/lib/sysusers.d/spawny.conf | |
install -D -m644 ${srcdir}/spawny.tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/spawny.conf | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
post_install() { | |
sp-greeter-set /usr/local/bin/anna | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
u spawny - "Spawny greeter user" /var/lib/spawny |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d /var/lib/spawny - - - - - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not too sure about that. enabling and starting the socket ... maybe, but really not sure about the sp-greeter-start ... maybe someone installs just to try ... and then has lightdm & spawny that will fight for the best fitting vt and who gets the attention ? :/