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

Gaetan Bisson bisson at archlinux.org
Sun Feb 5 10:14:33 EST 2012


    Date: Sunday, February 5, 2012 @ 10:14:33
  Author: bisson
Revision: 149041

signed rebuild for free

Modified:
  rssh/trunk/PKGBUILD

----------+
 PKGBUILD |   36 +++++++++++++++++++++---------------
 1 file changed, 21 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-05 15:14:11 UTC (rev 149040)
+++ PKGBUILD	2012-02-05 15:14:33 UTC (rev 149041)
@@ -1,15 +1,17 @@
 # $Id$
-# Maintainer: Judd Vinet <jvinet at zeroflux.org>
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
 pkgname=rssh
 pkgver=2.3.3
-pkgrel=2
-pkgdesc='A restricted shell for use with OpenSSH, allowing only scp and/or sftp'
+pkgrel=3
+pkgdesc='Restricted shell for use with OpenSSH, allowing only scp and/or sftp'
+url='http://www.pizzashack.org/rssh/'
+license=('custom:rssh')
 arch=('i686' 'x86_64')
-url='http://www.pizzashack.org/rssh/'
-depends=('openssh' 'glibc')
 backup=('etc/rssh.conf')
-license=('custom:rssh')
-source=("http://downloads.sourceforge.net/sourceforge/rssh/rssh-$pkgver.tar.gz"
+depends=('openssh')
+source=("http://downloads.sourceforge.net/sourceforge/rssh/rssh-${pkgver}.tar.gz"
         'destdir.patch'
         'rsync.patch')
 sha1sums=('0a6dd80b5e6059e0db12c9f1276121dd966b610a'
@@ -17,18 +19,22 @@
           '41f32f8a77b3a2b924ede6044ab67846e06b5d20')
 
 build() {
-	cd "$srcdir/$pkgname-$pkgver"
+	cd "${srcdir}/${pkgname}-${pkgver}"
 
-	patch -p1 < ../destdir.patch
-	patch -p1 < ../rsync.patch # FS#21783, debian patch
+	patch -p1 -i ../destdir.patch
+	patch -p1 -i ../rsync.patch # FS#21783, debian patch
 
-	./configure --prefix=/usr --libexecdir=/usr/lib/rssh \
-		--mandir=/usr/share/man --sysconfdir=/etc
+	./configure \
+		--prefix=/usr \
+		--libexecdir=/usr/lib/rssh \
+		--mandir=/usr/share/man \
+		--sysconfdir=/etc \
+
 	make
 }
 
 package() {
-	cd "$srcdir/$pkgname-$pkgver"
-	make DESTDIR="$pkgdir" install
-	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/rssh/LICENSE
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+	install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/rssh/LICENSE
 }



More information about the arch-commits mailing list