2020-09-11 02:09:42 +00:00
|
|
|
# Maintainer: David Thurstenson <thurstylark@gmail.com>
|
|
|
|
pkgname=tl-wallpaper
|
2020-10-22 23:49:39 +00:00
|
|
|
pkgver=0.2
|
2020-09-11 02:09:42 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Thurstylark's collection of wallpapers"
|
|
|
|
arch=(any)
|
|
|
|
url="https://git.thurstylark.com/${pkgname}.git/"
|
|
|
|
license=('GPL')
|
|
|
|
groups=('tlconfig')
|
|
|
|
makedepends=('git')
|
|
|
|
source=("git+${url}")
|
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
2020-09-11 03:27:28 +00:00
|
|
|
printf "r%s.%s" "$(git -C ${srcdir}/${pkgname} rev-list --count HEAD)" "$(git -C ${srcdir}/${pkgname} rev-parse --short HEAD)"
|
2020-09-11 02:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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/"
|
|
|
|
}
|