mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-22 20:45:00 +02:00

Some checks are pending
Check Conventional Commit / check-commit-message (push) Waiting to run
32 lines
941 B
Bash
32 lines
941 B
Bash
# Maintainer: Eshan Roy <eshan@snigdhaos.org>
|
|
|
|
pkgname=snigdhaos-neofetch
|
|
org=Snigdha-OS
|
|
branch=master
|
|
_pkgname=snigdhaos-neofetch
|
|
_destname1="/etc/skel/.config/neofetch/"
|
|
_licensedir="/usr/share/snigdhaos/licenses/"
|
|
pkgver=1
|
|
pkgrel=1
|
|
pkgdesc="Snigdha OS Neofetch Config!"
|
|
arch=('any')
|
|
url="https://github.com/$org/$pkgname"
|
|
license=('MIT')
|
|
makedepends=('git')
|
|
depends=('neofetch' 'bash' 'python')
|
|
provides=("${pkgname}")
|
|
options=(!strip !emptydirs)
|
|
source=(${_pkgname}::"git+https://github.com/$org/${_pkgname}.git")
|
|
sha256sums=('SKIP')
|
|
install=$pkgname.install
|
|
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}
|
|
|
|
install -dm755 ${pkgdir}${_destname1}
|
|
install -m644 ${srcdir}/${_pkgname}${_destname1}* ${pkgdir}${_destname1}
|
|
} |