diff options
author | Dct Mei | 2019-10-28 03:45:21 +0900 |
---|---|---|
committer | Dct Mei | 2019-10-28 03:45:21 +0900 |
commit | c030b293717fdb864c52e7c1c044c28892afe176 (patch) | |
tree | 7c54e2440af01c2545df34a2828ffb502677196c | |
parent | 338fbd8ec8da0d9b878d9b378eead82438caf666 (diff) | |
download | aur-c030b293717fdb864c52e7c1c044c28892afe176.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-vimix-git pkgdesc = Vimix 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-vimix-git _pkgname="${pkgname%-*}" -pkgver=1.0 -pkgrel=3 +pkgver=20191003 +pkgrel=1 pkgdesc="Vimix grub theme" arch=(any) url="https://github.com/vinceliuice/grub2-themes" @@ -22,12 +22,13 @@ pkgver() { package() { name="${pkgdesc%% *}" + resolution="4k" 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/4k/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" } |