summaryrefslogtreecommitdiff
path: root/community/gsynaptics
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-15 23:14:42 +0000
committerroot <root@rshg054.dnsready.net>2011-09-15 23:14:42 +0000
commit062d1ba2c4d5de52d97f339c5a3ac1199b8533f6 (patch)
treebd00d2e476e1761b3771b1849a3a207dd8cb5c57 /community/gsynaptics
parentd5effc9aadfb9ed5890376ca9497eef52fafcf83 (diff)
Thu Sep 15 23:14:42 UTC 2011
Diffstat (limited to 'community/gsynaptics')
-rw-r--r--community/gsynaptics/PKGBUILD36
-rw-r--r--community/gsynaptics/build-filename.dpatch2
-rw-r--r--community/gsynaptics/gsynaptics.install4
3 files changed, 21 insertions, 21 deletions
diff --git a/community/gsynaptics/PKGBUILD b/community/gsynaptics/PKGBUILD
index af8b8cc81..137235be1 100644
--- a/community/gsynaptics/PKGBUILD
+++ b/community/gsynaptics/PKGBUILD
@@ -1,32 +1,36 @@
-# $Id: PKGBUILD 248 2009-07-21 09:55:45Z spupykin $
+# $Id: PKGBUILD 55543 2011-09-14 08:26:19Z andrea $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=gsynaptics
pkgver=0.9.16
-pkgrel=1
+pkgrel=2
pkgdesc="A settings tool for Synaptics touchpad driver"
-arch=(i686 x86_64)
-url="http://gsynaptics.sourceforge.jp"
-license=("GPL")
+arch=('i686' 'x86_64')
+url="http://gsynaptics.sourceforge.jp/"
+license=('GPL')
depends=('libgnomeui' 'synaptics')
makedepends=('intltool' 'gettext' 'gnome-doc-utils')
install=$pkgname.install
-source=(http://globalbase.dl.sourceforge.jp/gsynaptics/38463/gsynaptics-$pkgver.tar.gz \
- do-not-set-zero.dpatch \
- dot-fixes.dpatch \
- build-filename.dpatch)
+source=("http://sourceforge.jp/frs/redir.php?m=iij&f=/${pkgname}/38463/${pkgname}-${pkgver}.tar.gz"
+ do-not-set-zero.dpatch
+ dot-fixes.dpatch
+ build-filename.dpatch)
md5sums=('571828ddca2f1d9d6ea47e072db1959d'
'd6308d93fd4d04c686ba24422ed99905'
'4c35d5d0803296233d50146963a0bcbc'
- '11011a651f143103614fb69dd5aa77a1')
+ 'd227a70304bef3cc0272b37c5e322463')
build() {
- cd $startdir/src/gsynaptics-$pkgver
- patch -p1 <$srcdir/dot-fixes.dpatch
- patch -p1 <$srcdir/do-not-set-zero.dpatch
- patch -p1 <$srcdir/build-filename.dpatch
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ patch -p1 -i "${srcdir}"/dot-fixes.dpatch
+ patch -p1 -i "${srcdir}"/do-not-set-zero.dpatch
+ patch -p1 -i "${srcdir}"/build-filename.dpatch
./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
+ make
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
}
diff --git a/community/gsynaptics/build-filename.dpatch b/community/gsynaptics/build-filename.dpatch
index c48689533..404e6fab7 100644
--- a/community/gsynaptics/build-filename.dpatch
+++ b/community/gsynaptics/build-filename.dpatch
@@ -13,7 +13,7 @@ diff -urNad gsynaptics-0.9.14~/src/main.c gsynaptics-0.9.14/src/main.c
gtk_window_set_default_size (GTK_WINDOW (widget), 400, -1);
-- path = g_build_filename (DATADIR "/pixmaps", "touchpad.png");
+- path = g_build_filename (DATADIR "/pixmaps", "touchpad.png", NULL);
+ path = g_build_filename (DATADIR, "pixmaps", "touchpad.png", NULL);
if (path)
{
diff --git a/community/gsynaptics/gsynaptics.install b/community/gsynaptics/gsynaptics.install
index a0f279ee6..5b505b7b3 100644
--- a/community/gsynaptics/gsynaptics.install
+++ b/community/gsynaptics/gsynaptics.install
@@ -10,7 +10,3 @@ cat << EOF
>>>
EOF
}
-
-op=$1
-shift
-$op $*