40 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
| # Maintainer: Maximilian Käfer <maxi@kske.dev>
 | |
| pkgname='paperchanger-git'
 | |
| _pkgname='paperchanger'
 | |
| pkgver=1.0.r4.d3fd498
 | |
| pkgrel=1
 | |
| pkgdesc="CLI to help change the wallpaper in a more comfortable way."
 | |
| arch=('i686' 'x86_64')
 | |
| url="https://git.kske.dev/DieGurke/paperchanger"
 | |
| license=('GPL')
 | |
| groups=()
 | |
| depends=('binutils' 'xwallpaper' 'zenity')
 | |
| makedepends=('git')
 | |
| checkdepends=()
 | |
| optdepends=('bash')
 | |
| provides=(paperchanger)
 | |
| conflicts=()
 | |
| replaces=()
 | |
| backup=()
 | |
| options=()
 | |
| source=("git+$url")
 | |
| noextract=()
 | |
| md5sums=('SKIP')
 | |
| validpgpkeys=()
 | |
| 
 | |
| pkgver() {
 | |
| 	cd ${_pkgname}
 | |
| 	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	cd ${_pkgname}
 | |
| #	rm -rf "${pkgdir}${HOME}/.${_pkgname}"
 | |
| #	mkdir -p "${pkgdir}${HOME}/.${_pkgname}"
 | |
| #	install -Dm755 paperchanger.conf.sh "${pkgdir}/etc/paperchanger.conf.sh"
 | |
| #	install -Dm755 current_wallpaper.txt "${pkgdir}${HOME}/.${_pkgname}/current_wallpaper.txt"
 | |
| 	install -Dm644 README.md "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
 | |
| 	install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
 | |
| 	install -Dm755 paperchanger.sh "${pkgdir}/usr/bin/paperchanger"
 | |
| }
 |