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

Some checks are pending
Check Conventional Commit / check-commit-message (push) Waiting to run
28 lines
885 B
Bash
28 lines
885 B
Bash
# Maintainer: Eshan Roy <eshan@snigdhaos.org>
|
|
|
|
pkgname=snigdhaos-backgrounds
|
|
pkgver=r28.1d04059
|
|
pkgrel=1
|
|
pkgdesc="Snigdha OS Wallpapers for GNOME"
|
|
arch=('any')
|
|
url="https://github.com/Snigdha-OS/snigdhaos-backgrounds"
|
|
license=('MIT')
|
|
makedepends=('git')
|
|
source=("git+https://github.com/Snigdha-OS/snigdhaos-backgrounds.git")
|
|
sha256sums=('SKIP')
|
|
install="${pkgname}.install"
|
|
|
|
pkgver() {
|
|
cd "$srcdir/$pkgname" || exit
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}" || exit
|
|
install -d "${pkgdir}/usr/share/backgrounds/${pkgname}"
|
|
cp "${srcdir}/${pkgname}/src/${pkgname}"/*.jpg "${pkgdir}/usr/share/backgrounds/${pkgname}"
|
|
|
|
install -d "${pkgdir}/usr/share/gnome-background-properties"
|
|
cp "${srcdir}/${pkgname}/src/${pkgname}/${pkgname}.xml" "${pkgdir}/usr/share/gnome-background-properties/snigdhaos-backgrounds.xml"
|
|
}
|