diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..16398ae170c6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Latif Sulistyo <latipun@aur.archlinux.org> + +# shellcheck disable=2034,2154 +# shellcheck shell=bash + +pkgname=papirus-folders-catppuccin-git +pkgver=r19.5b1e93fa +pkgrel=1 +pkgdesc="Soothing pastel theme for Papirus Icon Theme folders" +arch=("any") +url="https://github.com/catppuccin/papirus-folders" +license=("MIT") +depends=('papirus-icon-theme') +makedepends=('git') +options=('!strip') +provides=("papirus-folders") +conflicts=("papirus-folders") +source=("$pkgname::git+$url.git" + "papirus-folders.hook" + "_papirus-folders" + "papirus-folders") +md5sums=('SKIP' + '181116893c90218ac0be9de66009b249' + '11377cc7005e1457042af56b1611a8c4' + '47cf0a071bfd2977e4db36998fbadbce') + +pkgver() { + cd "$srcdir/$pkgname" || exit 1 + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$pkgname" || exit 1 + install -dm755 "$pkgdir/usr/share/icons/Papirus" + cp -r src/* "$pkgdir/usr/share/icons/Papirus" + + install -Dm755 papirus-folders -t "$pkgdir/usr/bin" + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/${pkgname}" + install -Dm644 ../papirus-folders.hook -t "$pkgdir/usr/share/libalpm/hooks" + + install -Dm644 ../papirus-folders -t "$pkgdir/usr/share/bash-completion/completions" + install -Dm644 ../_papirus-folders -t "$pkgdir/usr/share/zsh/site-functions" +} |