Update 2019-04-28 15:19

This commit is contained in:
Murat Çileli 2019-04-28 15:19:14 +03:00
parent 4d4e46a7a9
commit e5e674ede7

View file

@ -1,28 +1,25 @@
# Maintainer: Murat Çileli <murat.cileli@gmail.com>
pkgbase="pkgbase"
pkgname="adwaita-creamy"
pkgver="0.1"
pkgver="3.24.8"
pkgrel="1"
pkgdesc="Refreshed new Adwaita theme with creamy colors and minor changes. "
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=("git+https://github.com/murat-cileli/adwaita-creamy.git")
source=("$pkgname-$pkgver::https://github.com/murat-cileli/adwaita-creamy/archive/$pkgver.tar.gz")
sha256sums=("SKIP")
build() {
cd "${pkgname}"
mkdir -p ~/.themes/adwaita-creamy
cp gtk-2.0 ~/.themes/adwaita-creamy/ -R
cp gtk-3.0 ~/.themes/adwaita-creamy/ -R
cp index.theme ~/.themes/adwaita-creamy/
}
user_name="$(logname)"
package() {
echo "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"
}