Last active
August 13, 2021 17:44
-
-
Save LukeHuckman/982e32bdede41743c8dcf0e0e0180783 to your computer and use it in GitHub Desktop.
PKGBUILD for Marwaita Icons
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_style=blue # Change to "yellow" if desired | |
pkgname=marwaita-icons-${_style}-git | |
_gitname=Marwaita-Icons | |
pkgver=r23.51850df | |
pkgrel=1 | |
pkgdesc="A clean and simple icon pack" | |
arch=('any') | |
url="https://github.com/LukeHuckman/${_gitname}" | |
license=('CC0') | |
if [ $_style == "blue" ]; then | |
conflicts=(marwaita-icons-yellow-git) | |
else | |
conflicts=(marwaita-icons-blue-git) | |
fi | |
source=("git+https://github.com/LukeHuckman/${_gitname}.git#branch=${_style}") | |
sha256sums=('SKIP') | |
pkgver() { | |
cd ${srcdir}/${_gitname} | |
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | |
} | |
package() { | |
cd ${srcdir}/${_gitname} | |
mkdir -p ${pkgdir}/usr/share/icons | |
cp -R Marwaita ${pkgdir}/usr/share/icons | |
cp -R Marwaita-Dark ${pkgdir}/usr/share/icons | |
cp -R Marwaita-Light ${pkgdir}/usr/share/icons | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment