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

Sébastien Luttringer seblu at nymeria.archlinux.org
Thu May 30 20:40:39 EDT 2013


    Date: Friday, May 31, 2013 @ 02:40:38
  Author: seblu
Revision: 92048

upgpkg: shfs-utils 0.35-5

- /usr merge
- cleanup

Modified:
  shfs-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-31 00:34:01 UTC (rev 92047)
+++ PKGBUILD	2013-05-31 00:40:38 UTC (rev 92048)
@@ -1,12 +1,13 @@
 # $Id$
 # Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Sébastien Luttringer
 # Contributor: Jaroslaw Swierczynski <swiergot at juvepoland.com>
 
 pkgname=shfs-utils
 pkgver=0.35
-pkgrel=4
-pkgdesc="SHell FileSystem Linux utils"
-url="http://shfs.sourceforge.net/"
+pkgrel=5
+pkgdesc='SHell FileSystem Linux utils'
+url='http://shfs.sourceforge.net/'
 license=('GPL')
 arch=('i686' 'x86_64')
 depends=('glibc' 'openssh')
@@ -16,15 +17,18 @@
 md5sums=('016f49d71bc32eee2b5d11fc1600cfbe'
          '49fb94b139bc69927815127f0bf85159')
 
+prepare() {
+  patch -Np0 -d shfs-$pkgver < $pkgname-make.patch
+}
+
 build() {
-  cd "${srcdir}/shfs-${pkgver}"
-
-  patch -Np0 -i "${srcdir}/$pkgname-make.patch"
+  cd shfs-$pkgver
   make -j1 utils
 }
 
 package() {
-  cd "${srcdir}/shfs-${pkgver}"
-
-  make -j1 ROOT="${pkgdir}" utils-install
+  cd shfs-$pkgver
+  make -j1 ROOT="$pkgdir" utils-install
+  # remove sbin symlinks
+  rm -r "$pkgdir/sbin"
 }



More information about the arch-commits mailing list