diff options
author | Murat Çileli | 2019-04-28 15:19:14 +0300 |
---|---|---|
committer | Murat Çileli | 2019-04-28 15:19:14 +0300 |
commit | e5e674ede76d44c1777d7739c5acf69580f50729 (patch) | |
tree | 2455e51749e79a39c4910ab169e71919ad103535 /PKGBUILD | |
parent | 4d4e46a7a9b120aa5a7013dcd849bf0c7c798d28 (diff) | |
download | aur-e5e674ede76d44c1777d7739c5acf69580f50729.tar.gz |
Update 2019-04-28 15:19
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 13 insertions, 16 deletions
@@ -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" +} |