[arch-commits] Commit in libspnav/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Oct 24 15:47:24 UTC 2017


    Date: Tuesday, October 24, 2017 @ 15:47:23
  Author: arojas
Revision: 308389

Rebuild (FS#56108)

Modified:
  libspnav/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-24 14:54:19 UTC (rev 308388)
+++ PKGBUILD	2017-10-24 15:47:23 UTC (rev 308389)
@@ -1,27 +1,28 @@
 # $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
 # Contributor: Jan Hambrecht <jaham at gmx dot net>
 
 pkgname=libspnav
 pkgver=0.2.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Alternative to the proprietary 3Dconnexion device driver and SDK for their 3D input devices"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
 url='http://spacenav.sourceforge.net/'
-license=('GPL')
-depends=('libx11')
+license=(GPL)
+depends=(libx11)
 source=("http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz"
-        'Makefile.patch')
-md5sums=('44d840540d53326d4a119c0f1aa7bf0a'
-         '74661fdaa2c4bca8f226a83951458228')
+        Makefile.patch)
+sha256sums=('7ae4d7bb7f6a5dda28b487891e01accc856311440f582299760dace6ee5f1f93'
+            'a49a9ac824ad41c043018094dd118ba92dd29f96fee92e70b640e47f643dde44')
 
 prepare() {
-  cd ${pkgname}-${pkgver}
-  patch -p1 -i "${srcdir}"/Makefile.patch
+  cd $pkgname-$pkgver
+  patch -p1 -i ../Makefile.patch
 }
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr \
     --disable-debug
   make
@@ -28,6 +29,6 @@
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list