[arch-commits] Commit in dash/trunk (PKGBUILD)
Stéphane Gaudreault
stephane at archlinux.org
Thu Jan 13 15:23:09 UTC 2011
Date: Thursday, January 13, 2011 @ 10:23:08
Author: stephane
Revision: 105861
upgpkg: dash 0.5.6.1-2
Rebuild of old package, Tidy up PKGBUILD
Modified:
dash/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-01-13 13:16:56 UTC (rev 105860)
+++ PKGBUILD 2011-01-13 15:23:08 UTC (rev 105861)
@@ -3,27 +3,26 @@
pkgname=dash
pkgver=0.5.6.1
-pkgrel=1
+pkgrel=2
pkgdesc="A POSIX compliant shell that aims to be as small as possible"
arch=('i686' 'x86_64')
url="http://gondor.apana.org.au/~herbert/dash/"
license=('BSD')
groups=('base')
depends=('glibc')
-#provides=('sh')
-source=("http://gondor.apana.org.au/~herbert/dash/files/dash-$pkgver.tar.gz")
+source=("http://gondor.apana.org.au/~herbert/dash/files/${pkgname}-${pkgver}.tar.gz")
md5sums=('1c846f4f5a33c0050b2045a6f7037e56')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --mandir=/usr/share/man --exec-prefix=""
- make || return 1
- make DESTDIR=$pkgdir install || return 1
+ make
+}
- # license
- install -m644 -D COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
- # dash is our default /bin/sh
- #cd $pkgdir/bin
- #ln -s dash sh
+ # license
+ install -m644 -D COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}
More information about the arch-commits
mailing list