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

Ike Devolder idevolder at nymeria.archlinux.org
Tue Jun 17 18:42:53 UTC 2014


    Date: Tuesday, June 17, 2014 @ 20:42:52
  Author: idevolder
Revision: 113306

libnfs :: 1.9.3-2

FS#40867 - [libnfs] patch needed to allow xbmc to see nfs shares

Modified:
  libnfs/trunk/PKGBUILD

----------+
 PKGBUILD |   31 ++++++++++++++++++++++---------
 1 file changed, 22 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-17 18:42:14 UTC (rev 113305)
+++ PKGBUILD	2014-06-17 18:42:52 UTC (rev 113306)
@@ -3,24 +3,37 @@
 
 pkgname=libnfs
 pkgver=1.9.3
-pkgrel=1
+pkgrel=2
 pkgdesc="client library for accessing NFS shares"
 arch=('i686' 'x86_64')
 url="https://github.com/sahlberg/libnfs"
 license=('GPL')
 depends=('glibc')
-source=("https://github.com/sahlberg/$pkgname/archive/$pkgname-$pkgver.tar.gz")
+source=(
+	"https://github.com/sahlberg/$pkgname/archive/$pkgname-$pkgver.tar.gz"
+	'0001-nfs_normalize_path-don-t-strip-trailing-slash-from.patch'
+)
 
-build() {
+prepare() {
   cd "$pkgname-$pkgname-$pkgver"
 
-  autoreconf -vif
-  ./configure --prefix=/usr
-  make
+  patch -p1 -i "$srcdir/0001-nfs_normalize_path-don-t-strip-trailing-slash-from.patch"
 }
 
+build() {
+	cd "$pkgname-$pkgname-$pkgver"
+
+	autoreconf -vif
+	./configure --prefix=/usr
+	make
+}
+
 package() {
-  cd "$pkgname-$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
+	cd "$pkgname-$pkgname-$pkgver"
+	make DESTDIR="$pkgdir" install
 }
-sha256sums=('9d1c988065b373ea25e195aedff4c33ca949fee41c61bdb38a26908bb618315a')
+
+sha256sums=(
+	'9d1c988065b373ea25e195aedff4c33ca949fee41c61bdb38a26908bb618315a'
+	'4a84a304a8364b89b90ef6bc43c9190e2ff600fd64fd15e6ecc20ab14eed78a5'
+)




More information about the arch-commits mailing list