PKGBUILD/design/Melawy/icon-theme_local/PKGBUILD_orig

48 lines
1.4 KiB
Plaintext
Raw Normal View History

2023-05-22 12:14:01 +05:00
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=('colloid-icon-theme-git' 'colloid-cursors-git')
pkgbase=colloid-icon-theme-git
pkgver=2023.03.28.r12.g87923b3
pkgrel=1
arch=('any')
license=('GPL3')
makedepends=('git')
options=('!strip')
source=('git+https://github.com/vinceliuice/Colloid-icon-theme.git')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/Colloid-icon-theme"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$srcdir/Colloid-icon-theme"
# Disable running gtk-update-icon-cache
sed -i '/gtk-update-icon-cache/d' install.sh
}
package_colloid-icon-theme-git() {
pkgdesc="Modern and clean icon theme for Linux"
url="https://www.pling.com/p/1661983"
depends=('gtk-update-icon-cache' 'hicolor-icon-theme')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
cd "$srcdir/Colloid-icon-theme"
install -d "$pkgdir/usr/share/icons"
./install.sh -t all -d "$pkgdir/usr/share/icons"
}
package_colloid-cursors-git() {
pkgdesc="An x-cursor theme inspired by Colloid theme and based on capitaine-cursors"
url="https://www.pling.com/p/1831077"
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
cd "$srcdir/Colloid-icon-theme/cursors"
install -d "$pkgdir"/usr/share/icons/Colloid{-cursors,-dark-cursors}
cp -r dist/* "$pkgdir/usr/share/icons/Colloid-cursors/"
cp -r dist-dark/* "$pkgdir/usr/share/icons/Colloid-dark-cursors/"
}