summaryrefslogtreecommitdiff
path: root/community/9base/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-01 03:07:25 -0700
committerroot <root@rshg054.dnsready.net>2013-10-01 03:07:25 -0700
commita1792bae6f21dd0cca9e5a0d5cfad55edc1c4955 (patch)
tree1c6225df5977b18e7eb68340f773a18bd26dc500 /community/9base/PKGBUILD
parenta1ba981700ea6943bedc5d7bb769b1f893088c7f (diff)
Tue Oct 1 03:05:59 PDT 2013
Diffstat (limited to 'community/9base/PKGBUILD')
-rw-r--r--community/9base/PKGBUILD11
1 files changed, 5 insertions, 6 deletions
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 <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')
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"