tl-wallpaper/PKGBUILD

24 lines
699 B
Bash
Raw Normal View History

2020-09-10 21:09:42 -05:00
# Maintainer: David Thurstenson <thurstylark@gmail.com>
pkgname=tl-wallpaper
2021-10-05 20:27:24 -05:00
pkgver=r15.b6ed6fc
2020-09-10 21:09:42 -05:00
pkgrel=1
pkgdesc="Thurstylark's collection of wallpapers"
arch=(any)
2021-10-05 20:27:24 -05:00
url="https://git.thurstylark.com/thurstylark/${pkgname}.git/"
2020-09-10 21:09:42 -05:00
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)"
2020-09-10 21:09:42 -05: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/"
}