summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5849db43b5c32901b89975ce6c7f20e83cd0915c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Giusy Margarita <kurmikon at libero dot it>

pkgname=korla-icon-theme
pkgver=1.0.0
pkgrel=1
pkgdesc="Korla icon theme suitable for every desktop environment, dark and light versions"
arch=("any")
url="https://github.com/bikass/korla"
license=("GPL3")
depends=("gtk-update-icon-cache")
makedepends=("git")
optdepends=("hicolor-icon-theme: fallback Freedesktop.org Hicolor icon theme"
    "breeze-icons: fallback Breeze icon theme"
    "gnome-icon-theme: fallback Gnome icon theme")
source=("https://github.com/bikass/korla/archive/$pkgver.tar.gz")
md5sums=("19978703f55c6595e5c7367352b3ed48")

package() {
    mkdir -p "$pkgdir/usr/share/icons/"

    cp -drf --no-preserve=mode,ownership "$srcdir/korla-$pkgver/korla" "$pkgdir/usr/share/icons/korla"
    cp -drf --no-preserve=mode,ownership "$srcdir/korla-$pkgver/korla-light" "$pkgdir/usr/share/icons/korla-light"
} 

post_install() {
    gtk-update-icon-cache -f -t "/usr/share/icons/korla/"
    gtk-update-icon-cache -f -t "/usr/share/icons/korla-light/"
}