summaryrefslogtreecommitdiff
path: root/community/gsynaptics/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gsynaptics/PKGBUILD')
-rw-r--r--community/gsynaptics/PKGBUILD36
1 files changed, 20 insertions, 16 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
}