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 13:51:52 +00:00
source=(http://unix.schottelius.org/gpm/archives/${pkgname}-${pkgver}.tar.bz2
gpm
gpm.conf.d)
md5sums=('6b534da16dc1b28ba828dea89e520f6f'
'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
}