diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/gpm/PKGBUILD | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core/gpm/PKGBUILD')
-rw-r--r-- | abs/core/gpm/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/core/gpm/PKGBUILD b/abs/core/gpm/PKGBUILD new file mode 100644 index 0000000..7a7c571 --- /dev/null +++ b/abs/core/gpm/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 3002 2008-06-18 01:56:59Z eric $ +# Maintainer: Eric Belanger <eric@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=gpm +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') +options=('!makeflags') +source=(http://unix.schottelius.org/gpm/archives/${pkgname}-${pkgver}.tar.bz2 \ + gpm gpm.conf.d) +md5sums=('e55473932e4052f3b74c730dfefe0d15' 'c4d42a4725503a5524cae060a959a3d3'\ + '5f109341a7d1bb18c59d7c3a395d848a') +sha1sums=('4a8c2109167da8e60055c25dadc383d02ba32538' + 'c13ad1422d24af320e2abb9786c7eacef39b293c' + '3bcb67027f0ad7dc393388fb02c261126671f9f5') + +build() { + cd ${startdir}/src/${pkgname}-${pkgver} + ./configure --prefix=/usr --sysconfdir=/etc || return 1 + make || return 1 + 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.2.* libgpm.so || return 1 + chmod 755 ${startdir}/pkg/usr/lib/libgpm.so.* || return 1 +} |