zsh pluggins
This commit is contained in:
parent
6172c74c4f
commit
9c865d4958
2 changed files with 48 additions and 0 deletions
25
pkgs/zsh-autosuggestions/build.sh
Normal file
25
pkgs/zsh-autosuggestions/build.sh
Normal file
|
@ -0,0 +1,25 @@
|
|||
pkgname=zsh-autosuggestions
|
||||
pkgver=0.6.4
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/zsh-users/$pkgname/archive/v$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
#mv zsh-users-$pkgname-* $pkgname-$pkgver
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
install -Dm644 ./$pkgname.zsh "$pkgdir/usr/share/zsh/plugins/$pkgname/"
|
||||
install -Dm644 ./$pkgname.plugin.zsh "$pkgdir/usr/share/zsh/plugins/$pkgname/"
|
||||
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
}
|
23
pkgs/zsh-syntax-highlighting/build.sh
Normal file
23
pkgs/zsh-syntax-highlighting/build.sh
Normal file
|
@ -0,0 +1,23 @@
|
|||
pkgname=zsh-syntax-highlighting
|
||||
pkgver=0.7.1
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/zsh-users/$pkgname/tarball/$pkgver" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
mv zsh-users-$pkgname-* $pkgname-$pkgver
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make PREFIX="/usr" SHARE_DIR="$pkgdir/usr/share/zsh/plugins/$pkgname" DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat COPYING.md
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue