This commit is contained in:
Jack L. Frost 2015-06-08 12:31:18 +03:00
commit f2620ed42f
4 changed files with 58 additions and 0 deletions

15
.SRCINFO Normal file
View File

@ -0,0 +1,15 @@
pkgbase = xorg-noudev-conf
pkgdesc = X.Org configuration for setups with no udev.
pkgver = 0.1
pkgrel = 1
url = https://google.com
arch = any
license = WTFPL
depends = xorg-server
source = 00-disable-hotplug.conf
source = 05-input.conf
md5sums = 6f18a3b0f6d23ada0476edcb375bd115
md5sums = dd3365d7218bc167ed99279acfb945ba
pkgname = xorg-noudev-conf

3
00-disable-hotplug.conf Normal file
View File

@ -0,0 +1,3 @@
Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection

10
05-input.conf Normal file
View File

@ -0,0 +1,10 @@
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/input/mice"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

30
PKGBUILD Normal file
View File

@ -0,0 +1,30 @@
# Maintainer: Jack L. Frost <fbt@fleshless.org>
pkgname=xorg-noudev-conf
pkgver=0.1
pkgrel=1
pkgdesc="X.Org configuration for setups with no udev."
url="https://google.com"
arch=( 'any' )
license=( 'WTFPL' )
depends=( 'xorg-server' )
#optdepends=()
#makedepends=()
#conflicts=()
#replaces=()
#backup=()
#install='foo.install'
source=( '00-disable-hotplug.conf' '05-input.conf' )
md5sums=('6f18a3b0f6d23ada0476edcb375bd115'
'dd3365d7218bc167ed99279acfb945ba')
build() {
msg "No build required"
}
package() {
install -Dm644 '00-disable-hotplug.conf' "$pkgdir/usr/share/X11/xorg.conf.d/00-disable-hotplug.conf"
install -Dm644 '05-input.conf' "$pkgdir/usr/share/X11/xorg.conf.d/05-input.conf"
}
# vim:set ts=2 sw=2 et: