blob: 3e9dc16c419b074f093bf213979b67b9cd2fb6ad (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Author: futpib <futpib@gmail.com>
pkgname=breeze-rofi-theme-git
pkgver=r41.df07825
pkgrel=1
pkgdesc="Breeze Themes for Rofi to match KDE Breeze Themes"
arch=('x86_64')
url='https://github.com/futpib/breeze-rofi-theme'
license=('GPL')
depends=('rofi')
makedepends=('git' 'nodejs' 'yarn' 'node-gyp' 'python' 'unzip')
provides=('breeze-rofi-theme')
conflicts=('breeze-rofi-theme')
source=(
"git+https://github.com/futpib/breeze-rofi-theme.git"
"git+https://github.com/KDE/breeze.git"
"git+https://github.com/davatorium/rofi.git"
)
sha256sums=(
'SKIP'
'SKIP'
'SKIP'
)
_pkgname=${pkgname%%-git}
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "${srcdir}/${_pkgname}"
git submodule init
git config submodule.breeze.url "${srcdir}/breeze"
git config submodule.rofi.url "${srcdir}/rofi"
git submodule update
}
build() {
cd "${srcdir}/${_pkgname}"
yarn install --immutable
yarn gulp
}
package() {
cd "${srcdir}/${_pkgname}"
install -dm755 "$pkgdir/usr/share/rofi/themes/"
install -Dm644 ./dist/*.rasi "$pkgdir/usr/share/rofi/themes/"
}
|