summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f986829f36510ebe10daa0d0bc26562597970064 (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
26
27
28
29
# Maintainer: Alireza Ayinmehr <alireza.darksun@gmail.com>
# Contributor: wenLiangcan <boxeed at gmail dot com>
# Contributor: se7enday(87635645#qq.com)
# I'm going to sleep. I'll work on it tomorrow.
pkgname=grub2-theme-vimix-git
pkgver=20190211
pkgrel=1
pkgdesc="Grub2 theme Vimix"
url='https://github.com/vinceliuice/grub2-themes/tree/master/grub-theme-vimix'
arch=('any')
license=('GPLv3')
depends=('grub')
makedepends=('git')
install=${pkgname}.install
source=("${pkgname}"::"git+https://github.com/vinceliuice/grub2-themes.git")
conflicts=('grub2-theme-vimix')
md5sums=('SKIP')

pkgver() {
    cd "${srcdir}/${pkgname}"
    git log -1 --format='%cd' --date=short | tr -d -- '-'
}

package() {
    cd "${srcdir}/${pkgname}/grub-theme-vimix/"
    find ./Vimix/ -type f -exec install -Dm644 {} \
        "${pkgdir}/boot/grub/themes/{}" \;
}