blob: 860a05bf006d37bbb657d456333dc7e455918f7a (
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
|
pkgname=illogical-impulse-oneui4-icons-git
_pkgname=OneUI4-Icons
pkgver=r64.9ba2190
pkgrel=1
pkgdesc="A fork of mjkim0727/OneUI4-Icons for illogical-impulse dotfiles."
arch=('x86_64')
url="https://github.com/end-4/OneUI4-Icons"
license=('GPL3')
source=("git+${url}.git")
sha256sums=('SKIP')
options=('!strip')
pkgver(){
cd $srcdir/$_pkgname
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd $srcdir/$_pkgname
install -dm755 "$pkgdir/usr/share/icons"
for _i in OneUI{,-dark,-light}; do
cp -dr --no-preserve=mode "$_i" "$pkgdir/usr/share/icons/$_i"
done
}
|