blob: 76d5758074462905aeaf1809cbf655718cf4db72 (
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
|
# Maintainer: Paulo Fino <somepaulo@duck.com>
# Contributor: Dušan Simić <dusan.simic1810@gmail.com>
pkgname=morewaita-icon-theme-git
_reponame=MoreWaita
pkgver=48.1.r0.g3a40e0d # Keep the g before the 7-character short commit ID
pkgrel=1
pkgdesc="An expanded Adwaita-styled companion icon theme with extra icons for popular apps to complement Gnome Shell's original icons. AUR package maintained by upstream developer."
arch=(any)
url="https://github.com/somepaulo/$_reponame"
license=(GPL3)
depends=(adwaita-icon-theme)
makedepends=(git)
provides=("morewaita-icon-theme" "morewaita")
conflicts=("${pkgname%-git}" "morewaita" "morewaita-git")
replaces=("morewaita-git")
source=("git+$url")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_reponame"
git describe --long --tags --abbrev=7 | sed 's/^v//;s/-/.r/;s/-/./'
}
package() {
local themedir="$pkgdir/usr/share/icons/MoreWaita"
install -d "$themedir"
find "$_reponame" -name 'meson.build' -type f | xargs rm
cp -r "$_reponame/scalable" "$themedir/scalable"
cp -r "$_reponame/symbolic" "$themedir/symbolic"
cp "$_reponame/index.theme" "$themedir/index.theme"
cp "$_reponame/LICENSE" "$themedir/LICENSE"
}
|