# 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"
}
