# Maintainer: David Thurstenson pkgname=tl-wallpaper pkgver=r15.b6ed6fc pkgrel=1 pkgdesc="Thurstylark's collection of wallpapers" arch=(any) url="https://git.thurstylark.com/thurstylark/${pkgname}.git/" license=('GPL') groups=('tlconfig') makedepends=('git') source=("git+${url}") md5sums=('SKIP') pkgver() { printf "r%s.%s" "$(git -C ${srcdir}/${pkgname} rev-list --count HEAD)" "$(git -C ${srcdir}/${pkgname} rev-parse --short HEAD)" } package() { cd ${srcdir}/${pkgname} install -d "${pkgdir}/usr/share/backgrounds/thurstylark/" install -m644 *.jpg "${pkgdir}/usr/share/backgrounds/thurstylark/" install -m644 *.png "${pkgdir}/usr/share/backgrounds/thurstylark/" }