Created
December 15, 2015 03:01
-
-
Save forivall/44c883665629c2a1d6f2 to your computer and use it in GitHub Desktop.
diff to allow custom icons for gitter aur package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/PKGBUILD b/PKGBUILD | |
index 3562c43..c18ff76 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -1,7 +1,8 @@ | |
# Maintainer: Moritz Kaspar Rudert (mortzu) <me@mortzu.de> | |
+# Contributor: Jordan James Klassen (forivall) <forivall@gmail.com> | |
pkgname=gitter | |
pkgver=2.4.0 | |
-pkgrel=2 | |
+pkgrel=3 | |
pkgdesc='Where developers come to talk' | |
url='https://gitter.im' | |
license=('unknown') | |
@@ -28,5 +29,6 @@ package() { | |
ln -sf /usr/lib64/libudev.so.1 "$pkgdir/opt/Gitter/lib/libudev.so.0" | |
install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname" | |
RPM_BUILD_ROOT="$pkgdir" desktop-file-install "$pkgdir/opt/Gitter/linux64/gitter.desktop" | |
- sed -e 's#/opt/Gitter/linux64/Gitter#/usr/bin/gitter#' -i "$pkgdir/usr/share/applications/gitter.desktop" | |
+ install -Dm644 "$pkgdir/opt/Gitter/linux64/logo.png" "$pkgdir/usr/share/pixmaps/Gitter.png" | |
+ sed -e 's#/opt/Gitter/linux64/Gitter#/usr/bin/gitter#' -e 's#/opt/Gitter/linux64/logo.png#Gitter#' -i "$pkgdir/usr/share/applications/gitter.desktop" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment