pmaports/sxmo/sxmo-xdm-config/APKBUILD
2021-03-29 22:17:30 +02:00

25 lines
978 B
Text

# Maintainer: Maarten van Gompel <proycon@anaproy.nl>
pkgname=sxmo-xdm-config
pkgver=0.3.0
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.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="2b0e83e44daf4d725327568d682c00af5fd22debbf262ef59b3c444ff3b1af2a6573fb29e23b5ef77e22dd974ae11a8063e59e585e68e5149476f8080edc9996 sxmo-xdm-config-0.3.0.tar.gz"