mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-12-06 08:03:50 +01:00
⏳ @eshanized updated the repository 🎉
This commit is contained in:
33
snigdhaos-powershell/PKGBUILD
Normal file
33
snigdhaos-powershell/PKGBUILD
Normal file
@@ -0,0 +1,33 @@
|
||||
# Maintainer: Eshan Roy <eshan@snigdhaos.org>
|
||||
|
||||
pkgname=snigdhaos-powershell
|
||||
org="Snigdha-OS"
|
||||
branch="master"
|
||||
pkgver=r75.ba4f5f5
|
||||
pkgrel=1
|
||||
pkgdesc="Snigdha OS PowerShell Config!"
|
||||
arch=('any')
|
||||
license=('MIT')
|
||||
depends=(
|
||||
'powershell-bin'
|
||||
)
|
||||
source=(
|
||||
"$pkgname.tar.xz"
|
||||
"${pkgname}.desktop"
|
||||
)
|
||||
sha256sums=(
|
||||
'SKIP'
|
||||
)
|
||||
install=$pkgname.install
|
||||
|
||||
pkgver(){
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
package(){
|
||||
mkdir -p "${pkgdir}/etc/skel"
|
||||
cp -rf "${srcdir}/etc/skel/.config" "${pkgdir}/etc/skel/"
|
||||
|
||||
# rm "${pkgdir}/usr/share/applications/snigdhaos-powershell.desktop"
|
||||
# install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
$Host.UI.RawUI.WindowTitle = "SNIGDHA OS > PowerShell🔥"
|
||||
function prompt()
|
||||
{
|
||||
$ESC=$([char]27)
|
||||
"$ESC[0;36m┌──I'm $(whoami)➜ $ESC[0;31m$($executionContext.SessionState.Path.CurrentLocation)$("`r`n$ESC[0;36m└──eshanized PowerShell🔥>$ESC[00m" * ($nestedPromptLevel + 1)) ";
|
||||
}
|
||||
7
snigdhaos-powershell/snigdhaos-powershell.install
Normal file
7
snigdhaos-powershell/snigdhaos-powershell.install
Normal file
@@ -0,0 +1,7 @@
|
||||
post_install() {
|
||||
echo -e "\n** The files have been installed in /etc/skel/.config/powershell **\n"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
BIN
snigdhaos-powershell/snigdhaos-powershell.tar.xz
Normal file
BIN
snigdhaos-powershell/snigdhaos-powershell.tar.xz
Normal file
Binary file not shown.
Reference in New Issue
Block a user