summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorens Gwine2017-12-02 14:04:53 +0500
committerLorens Gwine2017-12-02 14:04:53 +0500
commit3b21d83a0b4054ece941eed373e41bc54b8a9d39 (patch)
tree16761c61156ee9756c439aa38da61af4b07c3ece
parent4d9606ca895d2c35848493451d632c4e7f32d6c6 (diff)
downloadaur-3b21d83a0b4054ece941eed373e41bc54b8a9d39.tar.gz
add icons
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
-rw-r--r--additional-icons.tar.gzbin0 -> 44044 bytes
3 files changed, 9 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dc41186f84cd..531596c00810 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,8 +10,10 @@ pkgbase = tc-twitch-git
provides = tc-twitch
conflicts = tc-twitch
source = tc-twitch.desktop
+ source = additional-icons.tar.gz
source = tc-twitch-git::git+https://github.com/mccxiv/tc.git
md5sums = 72e3fe4d7076cd6e7c26d5d3819b1c0a
+ md5sums = 3c4992d5dcc6f5e2fb212fa95e96e99f
md5sums = SKIP
pkgname = tc-twitch-git
diff --git a/PKGBUILD b/PKGBUILD
index 1d16d93ac057..959542a3316d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,6 +2,7 @@
pkgname=tc-twitch-git
_pkgname=tc-twitch
_realname=tc
+_icons_dir="additional-icons"
pkgver=10.2.0.r16.g0e5ed56
pkgrel=1
pkgdesc="The chat client for Twitchâ„¢"
@@ -11,8 +12,9 @@ license=('custom')
provides=($_pkgname)
conflicts=($_pkgname)
makedepends=('git' 'npm')
-source=("$_pkgname.desktop" "$pkgname::git+https://github.com/mccxiv/tc.git")
+source=("$_pkgname.desktop" "$_icons_dir.tar.gz" "$pkgname::git+https://github.com/mccxiv/tc.git")
md5sums=('72e3fe4d7076cd6e7c26d5d3819b1c0a'
+ '3c4992d5dcc6f5e2fb212fa95e96e99f'
'SKIP')
pkgver() {
@@ -44,4 +46,8 @@ package() {
# icons
install -Dm644 $srcdir/$pkgname/src/assets/icon16.png $pkgdir/usr/share/icons/hicolor/16x16/apps/$_pkgname.png
install -Dm644 $srcdir/$pkgname/src/assets/icon256.png $pkgdir/usr/share/icons/hicolor/256x256/apps/$_pkgname.png
+ # additional icons
+ for i in 22 24 32 36 48 64 72 96 128 192; do
+ install -Dm644 $srcdir/$_icons_dir/icon$i.png $pkgdir/usr/share/icons/hicolor/$ix$i/apps/$_pkgname.png
+ done
}
diff --git a/additional-icons.tar.gz b/additional-icons.tar.gz
new file mode 100644
index 000000000000..46ea499906c7
--- /dev/null
+++ b/additional-icons.tar.gz
Binary files differ