mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
34 lines
1 KiB
Bash
34 lines
1 KiB
Bash
# 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"
|
|
arch=('arm')
|
|
url="http://unix.schottelius.org/gpm/"
|
|
license=('GPL')
|
|
depends=('ncurses' 'texinfo')
|
|
backup=('etc/conf.d/gpm')
|
|
options=('!makeflags')
|
|
install=gpm.install
|
|
source=(http://www.nico.schottelius.org/software/$pkgname/archives/$pkgname-$pkgver.tar.gz
|
|
gpm
|
|
gpm.conf.d)
|
|
md5sums=('b75e794bfb9fe8114d0b083932673b8f'
|
|
'945ecde0836687e05c13ea837092ea6c'
|
|
'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
|
|
|
|
# Library fixes
|
|
cd "${pkgdir}/usr/lib/"
|
|
ln -s libgpm.so.2.* libgpm.so || return 1
|
|
chmod 755 "${pkgdir}"/usr/lib/libgpm.so.* || return 1
|
|
}
|