moved updated pkgbuild to wallpaper folder

This commit is contained in:
Sohrab Behdani 2024-07-17 18:05:32 +03:30
parent 206817ba88
commit 3614f78a72
2 changed files with 25 additions and 24 deletions

View file

@ -1,24 +0,0 @@
# Maintainer: Komeil Parseh <ahmdparsh129@gmail.com>
pkgname=parch-wallpapers
pkgver=0.0.3
pkgrel=0
pkgdesc='parch wallpapers'
arch=("any")
url="https://github.com/parchlinux/artwork"
license=("BSD-3-Clause")
source=("git+https://github.com/parchlinux/artwork")
provides=("${pkgname%}")
conflict=("${pkgname%}")
md5sums=('SKIP')
package() {
cd "$srcdir/artwork/Wallpaper"
install -d "${pkgdir}/usr/share/wallpapers/${pkgname}/"
install -m644 */*.png "${pkgdir}/usr/share/wallpapers/${pkgname}/"
# License
install -d "${pkgdir}/usr/share/licenses/${pkgname}/"
install -m511 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
}

25
Wallpaper/PKGBUILD Normal file
View file

@ -0,0 +1,25 @@
# Maintainer: Sohrab Behdani <behdanisohrab@gmail.com>
pkgname=parch-wallpapers
pkgver=0.0.5
pkgrel=0
pkgdesc='Wallpapers for Parch Linux'
arch=("any")
url="https://github.com/parchlinux/artwork"
license=("BSD-3-Clause")
source=("git+https://github.com/parchlinux/artwork")
provides=("${pkgname}")
conflicts=("${pkgname}")
md5sums=('SKIP')
package() {
cd "$srcdir/artwork/Wallpaper"
# Create the base destination directory
install -d "${pkgdir}/usr/share/wallpapers/"
# Install all image files from all subdirectories
find . -type f \( -name "*.png" -o -name "*.jpg" -o -name "*.jpeg" \) -exec install -Dm644 {} "${pkgdir}/usr/share/wallpapers/{}" \;
# License
install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}