PKGBUILDs/core/gpm/PKGBUILD

35 lines
1 KiB
Bash
Raw Normal View History

2009-10-10 02:17:35 +00:00
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=gpm
pkgver=1.20.6
pkgrel=3
pkgdesc="A mouse server for the console and xterm"
2009-10-10 13:51:52 +00:00
arch=('arm')
2009-10-10 02:17:35 +00:00
url="http://unix.schottelius.org/gpm/"
license=('GPL')
depends=('ncurses' 'texinfo')
backup=('etc/conf.d/gpm')
options=('!makeflags')
install=gpm.install
2009-10-10 14:23:05 +00:00
source=(http://www.nico.schottelius.org/software/$pkgname/archives/$pkgname-$pkgver.tar.gz
2009-10-10 13:51:52 +00:00
gpm
gpm.conf.d)
2009-10-10 14:23:05 +00:00
md5sums=('b75e794bfb9fe8114d0b083932673b8f'
2009-10-10 13:51:52 +00:00
'945ecde0836687e05c13ea837092ea6c'
2009-10-10 02:17:35 +00:00
'63e599950946e5f5a649432510aacf4c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc || return 1
make || return 1
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
2009-10-10 13:51:52 +00:00
# Library fixes
2009-10-10 02:17:35 +00:00
cd "${pkgdir}/usr/lib/"
ln -s libgpm.so.2.* libgpm.so || return 1
chmod 755 "${pkgdir}"/usr/lib/libgpm.so.* || return 1
}