diff options
author | Dct Mei | 2019-10-28 03:49:06 +0900 |
---|---|---|
committer | Dct Mei | 2019-10-28 03:49:06 +0900 |
commit | d2bab5dcef7ae50c48b0bc3a5282e1ac20e7bb03 (patch) | |
tree | 436b1bb1ee4f90ee3f68362ef8978dd5c777bd53 | |
parent | 5203dd9168bb931d71d296059a983c8c414bba21 (diff) | |
download | aur-d2bab5dcef7ae50c48b0bc3a5282e1ac20e7bb03.tar.gz |
fix the installation path of "icons" and "select"
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 8 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = grub-theme-slaze-git pkgdesc = Slaze grub theme - pkgver = 1.0 - pkgrel = 3 + pkgver = 20191003 + pkgrel = 1 url = https://github.com/vinceliuice/grub2-themes arch = any license = GPL3 @@ -2,8 +2,8 @@ pkgname=grub-theme-slaze-git _pkgname="${pkgname%-*}" -pkgver=1.0 -pkgrel=3 +pkgver=20191003 +pkgrel=1 pkgdesc="Slaze grub theme" arch=(any) url="https://github.com/vinceliuice/grub2-themes" @@ -22,12 +22,13 @@ pkgver() { package() { name="${pkgdesc%% *}" + resolution="1080p" cd "$srcdir/$_pkgname" install -d "$pkgdir/usr/share/grub/themes/$name" install -d "$pkgdir/usr/share/grub/themes/$name/icons" install -Dm 644 common/* "$pkgdir/usr/share/grub/themes/$name" - install -Dm 644 "backgrounds/1080p/background-${_pkgname##*-}.jpg" "$pkgdir/usr/share/grub/themes/$name/background.jpg" - install -Dm 644 assets/assets-white/icons/* "$pkgdir/usr/share/grub/themes/$name/icons" - install -Dm 644 assets/assets-white/select/*.png "$pkgdir/usr/share/grub/themes/$name" + install -Dm 644 "backgrounds/$resolution/background-${_pkgname##*-}.jpg" "$pkgdir/usr/share/grub/themes/$name/background.jpg" + install -Dm 644 "assets/assets-white/icons-$resolution"/* "$pkgdir/usr/share/grub/themes/$name/icons" + install -Dm 644 "assets/assets-white/select-$resolution"/* "$pkgdir/usr/share/grub/themes/$name" install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" } |