Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
bot-test
packages
gpm
Commits
a12561f7
Commit
a12561f7
authored
Sep 25, 2020
by
Christian Hesse
😜
Browse files
fix race condition with service
parent
125b8d91
Changes
3
Hide whitespace changes
Inline
Side-by-side
PKGBUILD
View file @
a12561f7
...
...
@@ -3,7 +3,7 @@
pkgname
=
gpm
pkgver
=
1.20.7.r38.ge82d1a6
_commit
=
'e82d1a653ca94aa4ed12441424da6ce780b1e530'
pkgrel
=
2
pkgrel
=
3
pkgdesc
=
'A mouse server for the console and xterm'
arch
=(
'x86_64'
)
url
=
'https://www.nico.schottelius.org/software/gpm/'
...
...
@@ -14,10 +14,12 @@ provides=('libgpm.so')
options
=(
'!makeflags'
)
source
=(
"git+https://github.com/telmich/gpm.git#commit=
${
_commit
}
"
'gpm.sh'
'gpm.path'
'gpm.service'
)
sha256sums
=(
'SKIP'
'f41e90dcf6c0c6c4b8eff1c69039a20eb6b38ea851ffd1fa47ba311bf83d6ed8'
'dc7d2463f6670ff2c1646a571ffad51f7c603793c25c6f685efad13cbb444034'
)
'1b8712650c70fd139f844fa754e288bfe05a8ed8044d118fda75a47d66034d23'
'dbce5688b3ba1d5bc9c4f38bcc2d89a6d68d51b30fb5d6d29a02d0c011d3688e'
)
pkgver
()
{
cd
"
${
srcdir
}
/
${
pkgname
}
"
...
...
@@ -50,6 +52,7 @@ package() {
make
DESTDIR
=
"
${
pkgdir
}
"
install
install
-D
-m0755
../gpm.sh
"
${
pkgdir
}
/etc/profile.d/gpm.sh"
install
-D
-m0644
../gpm.path
"
${
pkgdir
}
/usr/lib/systemd/system/gpm.path"
install
-D
-m0644
../gpm.service
"
${
pkgdir
}
/usr/lib/systemd/system/gpm.service"
# library fixes
...
...
gpm.path
0 → 100644
View file @
a12561f7
[Unit]
Description=Virtual console mouse server
[Path]
PathExists=/dev/input/mice
gpm.service
View file @
a12561f7
...
...
@@ -2,6 +2,7 @@
Description
=
Virtual console mouse server
Requires
=
systemd-udevd.service
After
=
systemd-udevd.service
Wants
=
gpm.path
ConditionPathExists
=
/dev/input/mice
[Service]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment