sxmo/sxmo-xdm-config: new aport (MR 1789)
This commit is contained in:
parent
0181172240
commit
938d909768
3 changed files with 30 additions and 0 deletions
25
sxmo/sxmo-xdm-config/APKBUILD
Normal file
25
sxmo/sxmo-xdm-config/APKBUILD
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Maintainer: Maarten van Gompel <proycon@anaproy.nl>
|
||||
pkgname=sxmo-xdm-config
|
||||
pkgver=0.2.1
|
||||
pkgrel=0
|
||||
pkgdesc="X Display Manager configuration for Sxmo; starts with virtual keyboard and launches Sxmo UI"
|
||||
options="!check" # No testsuite
|
||||
url="https://git.sr.ht/~mil/sxmo-xdm-config"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="sxmo-utils svkbd xdm"
|
||||
replaces="sxmo-xdm xdm xdm-openrc"
|
||||
subpackages="$pkgname-openrc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~mil/sxmo-xdm-config/archive/$pkgver.tar.gz"
|
||||
install="$pkgname-openrc.post-install $pkgname.pre-deinstall"
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir/etc/X11/xdm" "$pkgdir/usr/lib/X11/xdm" "$pkgdir/etc/conf.d" "$pkgdir/etc/profile.d"
|
||||
|
||||
make -C "$builddir" DESTDIR=$pkgdir install
|
||||
|
||||
# E.g. hide the cursor for Xorg
|
||||
echo ":0 local /usr/bin/X -nocursor :0" > "$pkgdir/etc/X11/xdm/Xservers"
|
||||
}
|
||||
|
||||
sha512sums="48f315fa2244d2f75b023c75282ee600f2fb421fccb41643c6cb12e323aea5fa9617674bba7f49a4e51cd7ad0110eb1fc988d223311b821fbadb7532510da7f0 sxmo-xdm-config-0.2.1.tar.gz"
|
3
sxmo/sxmo-xdm-config/sxmo-xdm-config-openrc.post-install
Normal file
3
sxmo/sxmo-xdm-config/sxmo-xdm-config-openrc.post-install
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
rc-update add xdm default
|
2
sxmo/sxmo-xdm-config/sxmo-xdm-config.pre-deinstall
Normal file
2
sxmo/sxmo-xdm-config/sxmo-xdm-config.pre-deinstall
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
rc-update del xdm
|
Loading…
Reference in a new issue