moved updated pkgbuild to wallpaper folder
This commit is contained in:
parent
206817ba88
commit
3614f78a72
2 changed files with 25 additions and 24 deletions
24
PKGBUILD
24
PKGBUILD
|
@ -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
25
Wallpaper/PKGBUILD
Normal 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"
|
||||
}
|
Loading…
Add table
Reference in a new issue