mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
gpm: profile.d files don't need to be executable; use sbin too.
This commit is contained in:
parent
0e7301b9be
commit
22d5f7d804
1 changed files with 2 additions and 4 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'gpm'
|
# Template file for 'gpm'
|
||||||
pkgname=gpm
|
pkgname=gpm
|
||||||
version=1.20.7
|
version=1.20.7
|
||||||
revision=5
|
revision=6
|
||||||
build_options="systemd"
|
build_options="systemd"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake libtool flex"
|
hostmakedepends="automake libtool flex"
|
||||||
makedepends="ncurses-devel libfl-devel"
|
makedepends="ncurses-devel libfl-devel"
|
||||||
configure_args="--sbindir=/usr/bin"
|
|
||||||
short_desc="A mouse server for the console and xterm"
|
short_desc="A mouse server for the console and xterm"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.nico.schottelius.org/software/gpm/"
|
homepage="http://www.nico.schottelius.org/software/gpm/"
|
||||||
|
@ -23,10 +22,9 @@ pre_configure() {
|
||||||
post_install() {
|
post_install() {
|
||||||
cd ${DESTDIR}/usr/lib
|
cd ${DESTDIR}/usr/lib
|
||||||
ln -s libgpm.so.2.* libgpm.so
|
ln -s libgpm.so.2.* libgpm.so
|
||||||
chmod 755 libgpm.so.*
|
|
||||||
touch ${DESTDIR}/usr/share/info/dir
|
touch ${DESTDIR}/usr/share/info/dir
|
||||||
|
|
||||||
vinstall ${FILESDIR}/gpm.sh 755 etc/profile.d
|
vinstall ${FILESDIR}/gpm.sh 644 etc/profile.d
|
||||||
if [ "$build_option_systemd" ]; then
|
if [ "$build_option_systemd" ]; then
|
||||||
vinstall ${FILESDIR}/gpm.service 644 usr/lib/systemd/system
|
vinstall ${FILESDIR}/gpm.service 644 usr/lib/systemd/system
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue