2021-05-16 19:22:53 +02:00
|
|
|
# Maintainer: Maximilian Käfer <maxi@kske.dev>
|
2021-05-17 21:50:39 +02:00
|
|
|
pkgname='paperchanger'
|
2021-05-16 19:22:53 +02:00
|
|
|
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() {
|
2021-05-17 21:50:39 +02:00
|
|
|
cd ${pkgname}
|
2021-05-16 19:22:53 +02:00
|
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2021-05-17 21:50:39 +02:00
|
|
|
cd ${pkgname}
|
|
|
|
# rm -rf "${pkgdir}${HOME}/.${pkgname}"
|
|
|
|
# mkdir -p "${pkgdir}${HOME}/.${pkgname}"
|
2021-05-17 20:17:56 +02:00
|
|
|
# install -Dm755 paperchanger.conf.sh "${pkgdir}/etc/paperchanger.conf.sh"
|
2021-05-17 21:50:39 +02:00
|
|
|
# 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"
|
2021-05-20 19:23:09 +02:00
|
|
|
install -Dm644 paperchanger.1 "${pkgdir}/usr/share/man/man1/paperchanger.1"
|
2021-05-16 19:22:53 +02:00
|
|
|
install -Dm755 paperchanger.sh "${pkgdir}/usr/bin/paperchanger"
|
|
|
|
}
|