gpm: profile.d files don't need to be executable; use sbin too.

This commit is contained in:
Juan RP 2014-12-14 13:30:35 +01:00
parent 0e7301b9be
commit 22d5f7d804

View file

@ -1,12 +1,11 @@
# Template file for 'gpm'
pkgname=gpm
version=1.20.7
revision=5
revision=6
build_options="systemd"
build_style=gnu-configure
hostmakedepends="automake libtool flex"
makedepends="ncurses-devel libfl-devel"
configure_args="--sbindir=/usr/bin"
short_desc="A mouse server for the console and xterm"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.nico.schottelius.org/software/gpm/"
@ -23,10 +22,9 @@ pre_configure() {
post_install() {
cd ${DESTDIR}/usr/lib
ln -s libgpm.so.2.* libgpm.so
chmod 755 libgpm.so.*
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
vinstall ${FILESDIR}/gpm.service 644 usr/lib/systemd/system
fi