summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 75de2735d3e77a2da69913d72b63de416b83fb35 (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
# Maintainer: Murat Çileli <murat.cileli@gmail.com>

pkgname="adwaita-creamy"
pkgver="3.24.8"
pkgrel="1"
pkgdesc="Refreshed new Adwaita theme with creamy colors and minor changes."
arch=("x86_64")
license=("MIT")
url="https://github.com/murat-cileli/adwaita-creamy"
makedepends=()
provides=("adwaita-creamy")
source=("$pkgname-$pkgver::https://github.com/murat-cileli/adwaita-creamy/archive/$pkgver.tar.gz")
sha256sums=("SKIP")
user_name="$(logname)"
   
package() {
    # Remove old version from user's home themes
    rm -rf $pkgdir/home/${user_name}/.themes/$pkgname 
    
    # Create directory
    mkdir -p $pkgdir/usr/share/themes/$pkgname

    # Copy contents
    cp -r "$srcdir/$pkgname-$pkgver/." "$pkgdir/usr/share/themes/$pkgname"
}