From a1792bae6f21dd0cca9e5a0d5cfad55edc1c4955 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 1 Oct 2013 03:07:25 -0700 Subject: Tue Oct 1 03:05:59 PDT 2013 --- community/9base/PKGBUILD | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'community/9base/PKGBUILD') diff --git a/community/9base/PKGBUILD b/community/9base/PKGBUILD index a38a266bd..92bcce809 100644 --- a/community/9base/PKGBUILD +++ b/community/9base/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 68390 2012-03-23 21:00:56Z cbrannon $ +# $Id: PKGBUILD 97894 2013-09-30 20:21:53Z bpiotrowski $ # Maintainer: Chris Brannon # Contributor: Jeff Mickey # Contributor: Aaron, phrakture, Griffin @@ -6,7 +6,7 @@ pkgname=9base pkgver=6 -pkgrel=4 +pkgrel=5 pkgdesc="Port of various original Plan9 tools to unix" url="http://tools.suckless.org/9base" source=(http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz 9 plan9.sh) @@ -16,9 +16,8 @@ provides=('plan9') arch=('i686' 'x86_64') license=('custom') -build() -{ - cd "$srcdir/$pkgname-$pkgver" +build() { + cd $pkgname-$pkgver case $CARCH in i686) sed -i 's#^OBJTYPE\s.*$#OBJTYPE = 386#' config.mk ;; @@ -36,7 +35,7 @@ build() } package() { - cd "$srcdir/$pkgname-$pkgver" + cd $pkgname-$pkgver make DESTDIR="$pkgdir" install install -m755 ../9 "$pkgdir/opt/plan9/bin/" install -D -m755 ../plan9.sh "$pkgdir/etc/profile.d/plan9.sh" -- cgit v1.2.3-54-g00ecf