summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 82b0b059cf1b7f1831d5f0ff897057c9dc83422a (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
30
31
32
33
34
35
# Maintainer: MaurĂ­cio de Lima <mauriciodelima.mol@gmail.com>

pkgname=archiso-grub-themes
pkgver=73
pkgrel=1
pkgdesc="Theme Archiso for Grub"
arch=('any')
url="https://gitlab.com/uaiso/labs/uarchiso/$pkgname"
license=('GPL3')
depends=('grub')
provides=("$pkgname")
source=("git+${url}.git")
md5sums=('SKIP')

if [ -e "${pkgname}.install" ];then
    install=${pkgname}.install
fi

package() {

    InternalDir="${srcdir}/${pkgname}"

    # Copy files
    if [ -d "${InternalDir}/usr" ]; then
        cp -r "${InternalDir}/usr" "${pkgdir}/"
    fi

    if [ -d "${InternalDir}/etc" ]; then
        cp -r "${InternalDir}/etc" "${pkgdir}/"
    fi

    if [ -d "${InternalDir}/opt" ]; then
        cp -r "${InternalDir}/opt" "${pkgdir}/"
    fi
}