refactor(rmv): clean dir

This commit is contained in:
Eshan Roy (Eshanized)
2024-05-12 17:23:04 +00:00
parent 0e80f5f673
commit 5bcde31f3b
32999 changed files with 0 additions and 3101016 deletions

View File

@@ -1,21 +0,0 @@
MIT License
Copyright (c) 2024 Snigdha OS
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -1,45 +0,0 @@
# Maintainer: Eshan Roy <eshan@snigdhaos.org>
pkgname=snigdhaos-bootloader-grub
org=Snigdha-OS
branch='master'
_destination1="/etc/pacman.d/hooks"
_licensedir="/usr/share/snigdhaos/licenses/"
pkgver=1
pkgrel=1
pkgdesc="Snigdha OS Config File"
arch=(
'any'
)
url="https://snigdhaos.org/"
license=('MIT')
makedepends=()
depends=()
conflicts=(
'snigdhaos-bootloader-grub-dev'
)
backup=()
provides=(
"${pkgname}"
"${pkgname}-dev"
)
options=(
!strip
!emptydirs
)
source=("$pkgname.tar.gz")
sha256sums=(
'SKIP'
)
install=$pkgname.install
pkgver() {
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package(){
install -dm755 "$pkgdir/$_licensedir/$pkgname"
install -m644 "$srcdir/$pkgname/LICENSE" "$pkdir/$_licensedir/$pkgname"
install -dm755 "$pkgdir/$_destination1"
cp -r ${srcdir}/${pkgname}/${_destination1}/* ${pkgdir}/${_destination1}
}

View File

@@ -1,15 +0,0 @@
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = grub
Target = amd-ucode
Target = intel-ucode
Target = linux
Target = linux-lts*
Target = linux-zen*
[Action]
Description = Executing grub-install
When = PostTransaction
Exec = /usr/bin/grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=SnigdhaOS

View File

@@ -1,15 +0,0 @@
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = grub
Target = amd-ucode
Target = intel-ucode
Target = linux
Target = linux-lts*
Target = linux-zen*
[Action]
Description = Executing grub-mkconfig
When = PostTransaction
Exec = /bin/sh -c "grub-mkconfig -o /boot/grub/grub.cfg"

View File

@@ -1,7 +0,0 @@
post_install(){
echo -e "\n All the files has been installed on /etc/pacman.d/hooks/ \n"
}
post_upgrade(){
post_install
}