Compare commits
No commits in common. "93996e58f85e0f5ae26b5f8bd9ff63991a3e8716" and "7ec3d15a18d44944e61e3a388f058266dc071861" have entirely different histories.
93996e58f8
...
7ec3d15a18
11
PKGBUILD
|
@ -1,6 +1,6 @@
|
|||
# Maintainer: David Thurstenson <thurstylark@gmail.com>
|
||||
pkgname=tl-wallpaper
|
||||
pkgver=r16.7ec3d15
|
||||
pkgver=r15.b6ed6fc
|
||||
pkgrel=1
|
||||
pkgdesc="Thurstylark's collection of wallpapers"
|
||||
arch=(any)
|
||||
|
@ -18,11 +18,6 @@ pkgver() {
|
|||
package() {
|
||||
cd ${srcdir}/${pkgname}
|
||||
install -d "${pkgdir}/usr/share/backgrounds/thurstylark/"
|
||||
|
||||
install -m755 "tl-wallpaper-shuf.bash" "${pkgdir}/usr/share/backgrounds/thurstylark/"
|
||||
|
||||
for i in $(find . -type f \( -iname \*.jpg -o -iname \*.png \) -printf '%f ' ); do
|
||||
install -d "${pkgdir}/usr/share/backgrounds/thurstylark/${i%%-*}"
|
||||
install -m644 "$i" "${pkgdir}/usr/share/backgrounds/thurstylark/${i%%-*}/"
|
||||
done
|
||||
install -m644 *.jpg "${pkgdir}/usr/share/backgrounds/thurstylark/"
|
||||
install -m644 *.png "${pkgdir}/usr/share/backgrounds/thurstylark/"
|
||||
}
|
||||
|
|
Before Width: | Height: | Size: 871 KiB After Width: | Height: | Size: 871 KiB |
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 2.6 MiB |
Before Width: | Height: | Size: 264 KiB After Width: | Height: | Size: 264 KiB |
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 2.7 MiB After Width: | Height: | Size: 2.7 MiB |
|
@ -1,11 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Start in the script's pwd
|
||||
# (ideally something like /usr/share/wallpapers/thurstylark/)
|
||||
wallp_dir=$(dirname "$0")
|
||||
|
||||
# Get one subdir from $wallp_dir
|
||||
wallp_subdir=$(find "$wallp_dir" -type d | shuf -n 1)
|
||||
|
||||
# Get one file from $wallp_subdir
|
||||
find $walp_subdir -type f \( -iname \*.jpg -o -iname \*.png \) | shuf -n 1
|