summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasterOfTheTiger2019-05-27 13:38:57 +0200
committerMasterOfTheTiger2019-05-27 13:38:57 +0200
commitb6f7d9b17d09c4cce13e149f90e97329272d3662 (patch)
treecd3e5ddf25b35f36ce060b5c0596a3aec52749c2
parente47f06190b8d1be465b3a6e646ba2fac912ff6c7 (diff)
downloadaur-b6f7d9b17d09c4cce13e149f90e97329272d3662.tar.gz
Update PKGBUILD with icons and desktop file
-rw-r--r--PKGBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ada1f84bb89..24a22b30448 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -40,4 +40,11 @@ build() {
package() {
install -Dm755 "gopath/src/github.com/muesli/telephant/deploy/linux/telephant" "$pkgdir/usr/bin/telephant"
+ install -Dm644 "gopath/src/github.com/muesli/telephant/assets/telephant.desktop" "$pkgdir/usr/share/applications/telephant.desktop"
+
+ for icon_size in 8 16 32 64 128 256 512; do
+ icon_dir="$pkgdir/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
+ install -d "$icon_dir"
+ install -m644 "gopath/src/github.com/muesli/telephant/assets/icons/telephant-${icon_size}.png" "$icon_dir/telephant.png"
+ done
}