Skip to content

Instantly share code, notes, and snippets.

@LukeHuckman
Last active August 13, 2021 17:44
Show Gist options
  • Save LukeHuckman/982e32bdede41743c8dcf0e0e0180783 to your computer and use it in GitHub Desktop.
Save LukeHuckman/982e32bdede41743c8dcf0e0e0180783 to your computer and use it in GitHub Desktop.
PKGBUILD for Marwaita Icons
_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