feat: add pkgbuild

Signed-off-by: 0xMRTT <0xMRTT@tuta.io>
This commit is contained in:
0xMRTT 2022-09-14 21:11:22 +02:00 committed by GitHub
parent 7daa5c383e
commit d1b120c22c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

21
Backgrounds/PKGBUILD Normal file
View file

@ -0,0 +1,21 @@
# Maintainer: 0xMRTT < 0xMRTT at proton dot me >
pkgname="gradience-backgrounds"
pkgver=0.2.3
pkgrel=2
pkgdesc='Gradience Backgrounds'
arch=('any')
url="https://github.com/GradienceTeam/Design"
license=('GPLv3')
source=("git+$url")
makedepends=('git')
sha256sums=('SKIP')
package() {
cd "$srcdir/$pkgname/Backgrounds"
find . \
-type f \
\( -name "*.png" -o -name "*.svg" \) \
-exec install -Dm 0755 -t "$pkgdir/usr/share/backgrounds/gradience/." {} +
}