Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
bot-test
community
9base
Commits
82bb0aa0
Commit
82bb0aa0
authored
Jun 11, 2010
by
Chris Brannon
Browse files
New upstream version, 6.
* Added a package() function to the PKGBUILD.
parent
bc96e9a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
PKGBUILD
View file @
82bb0aa0
# Maintainer:
Jeff Mickey <j@codemac.net
>
# Contributor:
Chris Brannon <cmbrannon79@gmail.com
>
# Maintainer:
Chris Brannon <cmbrannon79@gmail.com
>
# Contributor:
Jeff Mickey <j@codemac.net
>
# Contributor: Aaron, phrakture, Griffin <aaron@archlinux.org>
# Contributor: Jeffrey 'jf' Lim <jfs.world@gmail.com>
pkgname
=
9base
pkgver
=
5
pkgver
=
6
pkgrel
=
1
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
)
depends
=(
sh
)
conflicts
=(
'plan9port'
'9rc-devel'
)
provides
=(
'plan9'
)
arch
=(
'i686'
'x86_64'
)
license
=(
'custom'
)
build
()
{
cd
"
$srcdir
/
$pkgname
-
$pkgver
"
...
...
@@ -25,15 +27,16 @@ build()
sed
-i
's#^PREFIX\s.*$#PREFIX = /opt/plan9#'
config.mk
make
||
return
1
make
DESTDIR
=
"
$pkgdir
"
install
install
-m755
../9
"
$pkgdir
/opt/plan9/bin/"
install
-d
-m755
"
$pkgdir
/etc/profile.d/"
install
-m755
../plan9.sh
"
$pkgdir
/etc/profile.d/"
}
package
()
{
cd
"
$srcdir
/
$pkgname
-
$pkgver
"
make
DESTDIR
=
"
$pkgdir
"
install
||
return
1
install
-m755
../9
"
$pkgdir
/opt/plan9/bin/"
||
return
1
install
-D
-m755
../plan9.sh
"
$pkgdir
/etc/profile.d/plan9.sh"
||
return
1
install
-D
-m644
LICENSE
"
$pkgdir
/usr/share/licenses/9base/LICENSE"
}
md5sums
=(
'6c9afc639e3c5b86e670b8eb50896e18'
md5sums
=(
'5a4684c13fe19b00a50c2cf926d5cafc'
'ae7108b9f26bed388e9055f35eef2986'
'62a9e52043d9c32967fcae9018fffb56'
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment