add build script
This commit is contained in:
parent
f9a2c6b307
commit
90cbf56f63
9 changed files with 79 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
build
|
18
PKGBUILD
Executable file
18
PKGBUILD
Executable file
|
@ -0,0 +1,18 @@
|
|||
pkgname=parch-zsh-config
|
||||
pkgver=0.1
|
||||
pkgrel=1
|
||||
pkgdesc="ZSH config of parch"
|
||||
arch=('any')
|
||||
url="https://git.parchlinux.com/settings/parch-zsh-config"
|
||||
license=("GPL-3.0")
|
||||
depends=("zsh")
|
||||
source=("package.zip")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
build(){
|
||||
}
|
||||
|
||||
package() {
|
||||
find . -type d -name "__pycache__" -exec rm -rf {} +
|
||||
cp -r rootfs/* $pkgdir
|
||||
}
|
17
build.sh
Executable file
17
build.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
ziperrorandexit() {
|
||||
echo make sure you have zip installed and you are in archlinux directory
|
||||
exit 1
|
||||
}
|
||||
main () {
|
||||
rm -rf build
|
||||
mkdir -p build
|
||||
zip -r build/package.zip rootfs || ziperrorandexit
|
||||
cp PKGBUILD build
|
||||
cd build || return
|
||||
makepkg -sc
|
||||
cd ..
|
||||
}
|
||||
|
||||
main
|
21
rootfs/usr/share/parchlinux/zsh/install.txt
Normal file
21
rootfs/usr/share/parchlinux/zsh/install.txt
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
English:
|
||||
|
||||
Installation Guide
|
||||
|
||||
|
||||
For applying the theme, run:
|
||||
|
||||
cp /usr/share/parchlinux/zsh/zshrc-example ~/.zshrc
|
||||
|
||||
|
||||
make sure you have backup of your previous config
|
||||
|
||||
|
||||
فارسی:
|
||||
|
||||
برای نصب دستور زیر را وارد کنید
|
||||
|
||||
cp /usr/share/parchlinux/zsh/zshrc-example ~/.zshrc
|
||||
|
||||
از کانفیگ قدیمی خود یک بکاپ داشته باشید.
|
21
rootfs/usr/share/parchlinux/zsh/update.txt
Normal file
21
rootfs/usr/share/parchlinux/zsh/update.txt
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
English:
|
||||
|
||||
Update Guide
|
||||
|
||||
|
||||
For applying the theme, run:
|
||||
|
||||
cp /usr/share/parchlinux/zsh/zshrc-example ~/.zshrc
|
||||
|
||||
|
||||
make sure you have backup of your previous config
|
||||
|
||||
|
||||
فارسی:
|
||||
|
||||
برای آپدیت دستور زیر را وارد کنید
|
||||
|
||||
cp /usr/share/parchlinux/zsh/zshrc-example ~/.zshrc
|
||||
|
||||
از کانفیگ قدیمی خود یک بکاپ داشته باشید.
|
|
@ -5,7 +5,7 @@ source /usr/share/parchlinux/zsh/theme/parch.zsh-theme
|
|||
source /usr/share/parchlinux/zsh/functions/extract.zsh
|
||||
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
|
||||
source /usr/share/doc/pkgfile/command-not-found.zsh
|
||||
|
||||
|
||||
[[ -f /usr/share/parchlinux/zsh/alias ]] && source /usr/share/parchlinux/zsh/alias
|
Loading…
Add table
Add a link
Reference in a new issue