diff options
Diffstat (limited to 'community/9base/PKGBUILD')
-rw-r--r-- | community/9base/PKGBUILD | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/community/9base/PKGBUILD b/community/9base/PKGBUILD index 4a40a0267..1ebb46e0e 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 <cmbrannon79@gmail.com> # Contributor: Jeff Mickey <j@codemac.net> # Contributor: Aaron, phrakture, Griffin <aaron@archlinux.org> @@ -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' 'mips64el') 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" |