@eshanized updated the repository 🎉

This commit is contained in:
Eshan Roy (Eshanized)
2024-04-26 13:46:49 +05:30
parent 3065457436
commit 3744f70225
2 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
# Maintainer: Eshan Roy <eshan@snigdhaos.org>
pkgname=snigdhaos-welcome
_pkgname=snigdhaos-welcome
org=Snigdha-OS
_destname1="/etc/skel/.config/"
_destname2="/usr/"
_licensedir="/usr/share/snigdhaos/licenses/"
pkgver=1
pkgrel=1
pkgdesc="Snigdha OS Welcome App"
arch=('any')
url="https://github.com/$org/$pkgname"
license=('GPL3')
makedepends=(
'git'
)
depends=(
'libwnck3'
'arandr'
)
provides=("${pkgname}")
conflicts=('snigdhaos-welcome-dev')
install=$pkgname.install
options=(!strip !emptydirs)
source=(${_pkgname}::"git+${url}")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
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 ${pkgdir}${_licensedir}${_pkgname}
mkdir -p "${pkgdir}${_destname1}"
cp -r "${srcdir}/${_pkgname}/${_destname1}/"* "${pkgdir}${_destname1}"
mkdir -p "${pkgdir}${_destname2}"
cp -r "${srcdir}/${_pkgname}/${_destname2}/"* "${pkgdir}${_destname2}"
}

View File

@@ -0,0 +1,7 @@
post_install() {
echo -e "\n** The files have been installed in /etc/skel/.config **\n"
}
post_upgrade() {
post_install
}