summaryrefslogtreecommitdiff
path: root/testing/gpm/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-04 10:49:42 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-04 10:49:42 -0300
commit624e141150ea71c22164ca4ac6602d6d5a191674 (patch)
tree7e4f924e39fd73afb927925fbd75f857a41fae9c /testing/gpm/PKGBUILD
parent692010aa202808a5b0ab62a132e5e366e34273fc (diff)
parentb625511a28fd8401f524474b5339e75328595150 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/mlt/PKGBUILD community-testing/acetoneiso2/PKGBUILD community-testing/paraview/PKGBUILD community-testing/qbittorrent/PKGBUILD community-testing/virtualbox/PKGBUILD community-testing/virtualbox/virtualbox.install community/chmsee/PKGBUILD extra/kdelibs/PKGBUILD extra/kdeutils/PKGBUILD extra/libmpdclient/PKGBUILD extra/xf86-video-ati/PKGBUILD extra/xfce4-session/PKGBUILD extra/xfce4-smartbookmark-plugin/PKGBUILD kde-unstable/kdebase-workspace/PKGBUILD multilib/lib32-libdrm/PKGBUILD multilib/lib32-readline/PKGBUILD
Diffstat (limited to 'testing/gpm/PKGBUILD')
-rw-r--r--testing/gpm/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/gpm/PKGBUILD b/testing/gpm/PKGBUILD
new file mode 100644
index 000000000..fe96eba1b
--- /dev/null
+++ b/testing/gpm/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 141901 2011-11-03 00:10:37Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+
+pkgname=gpm
+pkgver=1.20.6
+pkgrel=7
+pkgdesc="A mouse server for the console and xterm"
+arch=('i686' 'x86_64')
+url="http://www.nico.schottelius.org/software/gpm/"
+license=('GPL')
+depends=('ncurses' 'bash')
+backup=('etc/conf.d/gpm')
+options=('!makeflags')
+install=gpm.install
+source=(http://www.nico.schottelius.org/software/gpm/archives/${pkgname}-${pkgver}.tar.bz2 \
+ gpm gpm.conf.d gpm.sh)
+sha1sums=('f3bb9272878b7934968381c8b25edab359114150'
+ '19e1feb1493373512a77801699df012d186336ea'
+ '4c31cb7dd51cee4d16d3f7a8956e6d87fac1ad86'
+ '88fe5ff10916c68a87abc8418a56eb0073f69fa9')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -D -m755 ../gpm "${pkgdir}/etc/rc.d/gpm"
+ install -D -m644 ../gpm.conf.d "${pkgdir}/etc/conf.d/gpm"
+ install -D -m755 ../gpm.sh "${pkgdir}/etc/profile.d/gpm.sh"
+
+# library fixes
+ cd "${pkgdir}/usr/lib/"
+ ln -s libgpm.so.2.* libgpm.so
+ chmod 755 "${pkgdir}"/usr/lib/libgpm.so.*
+}