mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-21 20:14:59 +02:00
@eshanized: push via script
This commit is contained in:
32
snigdhaos-neofetch/PKGBUILD
Normal file
32
snigdhaos-neofetch/PKGBUILD
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
# 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}
|
||||||
|
}
|
Reference in New Issue
Block a user