lots of moving

This commit is contained in:
Ella-0 2021-08-03 22:17:36 +00:00
parent e46f5d532a
commit 31d9629111
46 changed files with 0 additions and 0 deletions

38
extra/zsh/build.sh Normal file
View 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
}