mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-23 21:15:00 +02:00

Some checks are pending
Check Conventional Commit / check-commit-message (push) Waiting to run
42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
# Maintainer: Eshan Roy <eshan@snigdhaos.org>
|
|
# Maintainer: CELESTIFYX Team <celestifyx@gmail.com>
|
|
# Contributor: RiO <d3v1l0n@outlook.in>
|
|
|
|
pkgname="snigdhaos-welcome"
|
|
pkgver=1.0.0
|
|
pkgrel=1
|
|
pkgdesc="Snigdha OS Welcome App"
|
|
arch=("any")
|
|
license=("GPL-3.0-or-later")
|
|
makedepends=("git")
|
|
|
|
depends=("libwnck3"
|
|
"arandr")
|
|
|
|
provides=("${pkgname}")
|
|
conflicts=("${pkgname}-dev")
|
|
install="${pkgname}.install"
|
|
|
|
options=("!strip"
|
|
"!emptydirs")
|
|
|
|
source=("${pkgname}::git+https://github.com/Snigdha-OS/${pkgname}")
|
|
sha512sums=("SKIP")
|
|
|
|
package() {
|
|
_destname1="/etc/skel/.config/"
|
|
_destname2="/usr/"
|
|
|
|
# Install configuration files to the user"s default skeleton directory
|
|
mkdir -p "${pkgdir}${_destname1}"
|
|
cp -r "${srcdir}/${pkgname}/${_destname1}/"* "${pkgdir}${_destname1}"
|
|
|
|
# Install the main application files to /usr
|
|
mkdir -p "${pkgdir}${_destname2}"
|
|
cp -r "${srcdir}/${pkgname}/${_destname2}/"* "${pkgdir}${_destname2}"
|
|
|
|
# Optionally clean up any unnecessary files (e.g., .git, build files, etc.)
|
|
# This ensures the final package only contains the necessary files
|
|
find "${pkgdir}" -type f -name "*.git*" -exec rm -f {} \;
|
|
}
|