Adding initial PKGBUILD
This commit is contained in:
parent
64b22c04d6
commit
01cca8519d
|
@ -0,0 +1,24 @@
|
|||
# Maintainer: David Thurstenson <thurstylark@gmail.com>
|
||||
pkgname=tl-wallpaper
|
||||
pkgver=0.1
|
||||
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() {
|
||||
cd ${srcdir}
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git 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/"
|
||||
}
|
Loading…
Reference in New Issue