summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bf672188107805501a6c961f0986a7304011b557 (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
# Maintainer: Adrian Valcarcel-Schott <avalsch@proton.me>

pkgname="plymouth-theme-framework-git"
pkgver=r2.b801f5b
pkgrel=1
pkgdesc="Plymouth theme with animated Framework logo"
arch=(any)
url="https://git.sr.ht/~jameskupke/framework-plymouth-theme"
license=("unknown")
depends=('plymouth')
makedepends=('git')
source=('git+https://git.sr.ht/~jameskupke/framework-plymouth-theme')
sha256sums=('SKIP')

pkgver() {
    cd "framework-plymouth-theme"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd "$srcdir/framework-plymouth-theme/framework"
    mkdir -p "$pkgdir/usr/share/plymouth/themes/framework"
    install -Dm644 * "$pkgdir/usr/share/plymouth/themes/framework"
}