blob: 24df7401b501f9ddb7aa6de555f6dd854fa00948 (
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
|
# Maintainer Robert Booster > boosterdev@linuxmail.org
# Automatic builder > https://github.com/boosterdev/autobuild
pkgname="numix-icon-theme-pack"
pkgver="LATEST"
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')
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/"
}
|