From 605b7becba933a3d816d249b7a13097095b56e79 Mon Sep 17 00:00:00 2001 From: DieGurke Date: Mon, 17 May 2021 21:50:39 +0200 Subject: [PATCH] Changed the naming back (too lazy to revert commit) --- PKGBUILD | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 08293f1..4abe800 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,5 @@ # Maintainer: Maximilian Käfer -pkgname='paperchanger-git' -_pkgname='paperchanger' +pkgname='paperchanger' pkgver=1.0.r4.d3fd498 pkgrel=1 pkgdesc="CLI to help change the wallpaper in a more comfortable way." @@ -23,17 +22,17 @@ md5sums=('SKIP') validpgpkeys=() pkgver() { - cd ${_pkgname} + 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}" + 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 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" }