blob: 7a9f08c43e113066e3858c7582d1fcbd66c05647 (
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
55
|
# Maintainer Robert Booster > boosterdev@linuxmail.org
# Automatic builder > https://github.com/boosterdev/autobuild
_commit="1a59490bb6c0ae15caecc909d1c35950215704ec"
pkgname="numix-icon-theme-pack"
pkgver=20170419
pkgrel=1
pkgdesc='Numix project Icon Themes - Updated with Numix Core'
arch=('any')
url='http://numixproject.org/'
license=('GPL3')
makedepends=('git' 'python-gobject' 'inkscape')
provides=('numix-square-icon-theme' 'numix-square-light-icon-theme' 'numix-circle-icon-theme' 'numix-circle-light-icon-theme' 'numix-icon-theme')
conflicts=('numix-square-icon-theme' 'numix-square-light-icon-theme' 'numix-circle-icon-theme' 'numix-circle-light-icon-theme' 'numix-icon-theme')
options=('!strip')
source=(
"numix-icon-theme-square::git+https://github.com/numixproject/numix-icon-theme-square.git"
"numix-icon-theme-circle::git+https://github.com/numixproject/numix-icon-theme-circle.git"
"numix-icon-theme::git+https://github.com/numixproject/numix-icon-theme.git"
"numix-core::git+https://github.com/numixproject/numix-core.git")
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP')
pkgver() {
cd $srcdir/numix-core
git log -1 --format="%cd" --date=short | tr -d '-'
}
prepare() {
# update with Numix-Core
cd $srcdir/numix-core
chmod +x gen.py
./gen.py --theme square --platform linux
./gen.py --theme circle --platform linux
}
package() {
mkdir -p "$pkgdir/usr/share/icons/"
install -Dm644 "$srcdir/numix-core/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
# Numix Icon Theme
cd "$srcdir/numix-icon-theme"
cp -dr --no-preserve='ownership' Numix{,-Light} "$pkgdir/usr/share/icons/"
# Numix Circle Icon Theme
cd "$srcdir/numix-icon-theme-circle"
cp -dr --no-preserve='ownership' Numix-Circle{,-Light} "$pkgdir/usr/share/icons/"
# Numix Square Icon Theme
cd "$srcdir/numix-icon-theme-square"
cp -dr --no-preserve='ownership' Numix-Square{,-Light} "$pkgdir/usr/share/icons/"
# Numix Core Icon Updates
cd "$srcdir/numix-core"
cp -dr --no-preserve='ownership' numix-icon-theme-circle/Numix-Circle "$pkgdir/usr/share/icons/"
cp -dr --no-preserve='ownership' numix-icon-theme-square/Numix-Square "$pkgdir/usr/share/icons/"
}
|