lots of moving
This commit is contained in:
parent
e46f5d532a
commit
31d9629111
46 changed files with 0 additions and 0 deletions
38
extra/zsh/build.sh
Normal file
38
extra/zsh/build.sh
Normal file
|
@ -0,0 +1,38 @@
|
|||
pkgname=zsh
|
||||
pkgver=5.8
|
||||
ext=doc
|
||||
|
||||
fetch() {
|
||||
curl "https://www.zsh.org/pub/zsh-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
cp ../zprofile.zsh .
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--build=$TRIPLE \
|
||||
--host=$TRIPLE
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install DESTDIR=$pkgdir
|
||||
install -d /etc
|
||||
install -Dm644 ../zprofile.zsh $pkgdir/etc/zprofile
|
||||
rm -rf $pkgdir/usr/share/man
|
||||
}
|
||||
|
||||
package_doc() {
|
||||
cd $pkgname-$pkgver
|
||||
make install.man DESTDIR=$pkgdir
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENCE
|
||||
# cat COPYING
|
||||
}
|
2
extra/zsh/zprofile.zsh
Normal file
2
extra/zsh/zprofile.zsh
Normal file
|
@ -0,0 +1,2 @@
|
|||
emulate sh -c 'source /etc/profile'
|
||||
export PS1='%m%# '
|
Loading…
Add table
Add a link
Reference in a new issue