diff options
author | MasterOfTheTiger | 2019-05-27 13:38:57 +0200 |
---|---|---|
committer | MasterOfTheTiger | 2019-05-27 13:38:57 +0200 |
commit | b6f7d9b17d09c4cce13e149f90e97329272d3662 (patch) | |
tree | cd3e5ddf25b35f36ce060b5c0596a3aec52749c2 | |
parent | e47f06190b8d1be465b3a6e646ba2fac912ff6c7 (diff) | |
download | aur-b6f7d9b17d09c4cce13e149f90e97329272d3662.tar.gz |
Update PKGBUILD with icons and desktop file
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 } |