Commit 40438d8a authored by Eric Bélanger's avatar Eric Bélanger
Browse files

upgpkg: 1.20.6-4

    Added profile for extra security on multi-user-console (close FS#17243), Removed the need of texinfo depends
parent 219b4118
2009-12-05 Eric Belanger <eric@archlinux.org>
* gpm 1.20.6-4
* Added profile for extra security on multi-user-console (close FS#17243)
* Removed the need of texinfo depends
2009-09-20 Eric Belanger <eric@archlinux.org>
* gpm 1.20.6-3
......
......@@ -3,21 +3,21 @@
pkgname=gpm
pkgver=1.20.6
pkgrel=3
pkgrel=4
pkgdesc="A mouse server for the console and xterm"
arch=('i686' 'x86_64')
url="http://unix.schottelius.org/gpm/"
license=('GPL')
depends=('ncurses' 'texinfo')
depends=('ncurses')
backup=('etc/conf.d/gpm')
options=('!makeflags')
install=gpm.install
source=(http://unix.schottelius.org/gpm/archives/${pkgname}-${pkgver}.tar.bz2 \
gpm gpm.conf.d)
gpm gpm.conf.d gpm.sh)
md5sums=('6b534da16dc1b28ba828dea89e520f6f' '945ecde0836687e05c13ea837092ea6c'\
'63e599950946e5f5a649432510aacf4c')
'63e599950946e5f5a649432510aacf4c' 'f711818433d955852de32a9a0560aa74')
sha1sums=('f3bb9272878b7934968381c8b25edab359114150' '19e1feb1493373512a77801699df012d186336ea'\
'e483f893b4e6b9e1221a208527d728ffefe5438e')
'e483f893b4e6b9e1221a208527d728ffefe5438e' '002a8a246f9f37f140d38b8da51b353cf0668f96')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
......@@ -26,6 +26,7 @@ build() {
make DESTDIR="${pkgdir}" install || return 1
install -D -m755 ../gpm "${pkgdir}/etc/rc.d/gpm" || return 1
install -D -m644 ../gpm.conf.d "${pkgdir}/etc/conf.d/gpm" || return 1
install -D -m755 ../gpm.sh "${pkgdir}/etc/profile.d/gpm.sh" || return 1
# library fixes
cd "${pkgdir}/usr/lib/"
......
......@@ -2,6 +2,7 @@ infodir=/usr/share/info
file=gpm.info.gz
post_install() {
[ -x usr/bin/install-info ] || return 0
install-info $infodir/$file $infodir/dir 2> /dev/null
}
......@@ -10,5 +11,6 @@ post_upgrade() {
}
pre_remove() {
[ -x usr/bin/install-info ] || return 0
install-info --delete $infodir/$file $infodir/dir 2> /dev/null
}
case $( /usr/bin/tty ) in
/dev/tty[0-9]*) /usr/bin/disable-paste ;;
esac
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment