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

Upstream update

parent a02e85cf
2008-06-16 Eric Belanger <eric@archlinux.org>
* gpm 1.20.5-1
* Upstream update
* Added sanity checks
2008-04-17 Eric Belanger <eric@archlinux.org>
* gpm 1.20.3-1
......
......@@ -2,36 +2,33 @@
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=gpm
pkgver=1.20.3
pkgver=1.20.5
pkgrel=1
pkgdesc="A mouse server for the console and xterm"
arch=('i686' 'x86_64')
url="http://unix.schottelius.org/gpm/"
license=('GPL')
depends=('ncurses')
backup=(etc/conf.d/gpm)
backup=('etc/conf.d/gpm')
options=('!makeflags')
source=(http://unix.schottelius.org/gpm/archives/${pkgname}-${pkgver}.tar.bz2 \
gpm gpm.conf.d)
md5sums=('dd6054c488fc36fec327acc5b1f3e7d6' 'c4d42a4725503a5524cae060a959a3d3'\
md5sums=('e55473932e4052f3b74c730dfefe0d15' 'c4d42a4725503a5524cae060a959a3d3'\
'5f109341a7d1bb18c59d7c3a395d848a')
sha1sums=('352e1b40702ef5e8c088d61d70dd62fb24a6732e'
sha1sums=('4a8c2109167da8e60055c25dadc383d02ba32538'
'c13ad1422d24af320e2abb9786c7eacef39b293c'
'3bcb67027f0ad7dc393388fb02c261126671f9f5')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
# cleaning source directory
rm src/prog/open_console.o
./configure --prefix=/usr --sysconfdir=/etc
./configure --prefix=/usr --sysconfdir=/etc || return 1
make || return 1
make DESTDIR=${startdir}/pkg install
install -D -m755 ../gpm ${startdir}/pkg/etc/rc.d/gpm
install -D -m644 ../gpm.conf.d ${startdir}/pkg/etc/conf.d/gpm
make DESTDIR=${startdir}/pkg install || return 1
install -D -m755 ../gpm ${startdir}/pkg/etc/rc.d/gpm || return 1
install -D -m644 ../gpm.conf.d ${startdir}/pkg/etc/conf.d/gpm || return 1
# library fixes
cd ${startdir}/pkg/usr/lib/
ln -s libgpm.so.* libgpm.so.1
chmod 755 ${startdir}/pkg/usr/lib/libgpm.so.*
ln -s libgpm.so.2.* libgpm.so || return 1
chmod 755 ${startdir}/pkg/usr/lib/libgpm.so.* || return 1
}
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