12345678910111213141516171819202122232425262728293031323334 |
- # Tanım: Oyuncular için hepsi bir arada sesli ve yazılı sohbet.
- # URL: https://discordapp.com/
- # Paketçi: Cihan_Alkan
- # Gerekler: gtk2 gconf libnotify glibc alsa-lib nspr nss libc++
- # Grup: medya
- isim=discord
- surum=0.0.5
- devir=1
- kaynak=(https://dl.discordapp.net/apps/linux/${surum}/${isim}-${surum}.tar.gz)
- derle() {
- # Install the main files.
- install -d "${PKG}/opt/${isim}"
- cp -a "${SRC}/Discord/." "${PKG}/opt/${isim}"
- # Exec bit
- chmod 755 "${PKG}/opt/${isim}/Discord"
- # Desktop Entry
- install -d "${PKG}/usr/share/applications"
- install "${PKG}/opt/${isim}/${isim}.desktop" "${PKG}/usr/share/applications"
- sed -i s%/usr/share%/opt% ${PKG}/usr/share/applications/${isim}.desktop
- # Main binary
- #install "${SRC}/Discord.sh" "${PKG}/usr/bin/discord"
- mkdir -p ${PKG}/usr/bin
- ln -s "/opt/${isim}/Discord" "${PKG}/usr/bin/${isim}"
- # Create symbolic link to the icon
- install -d "${PKG}/usr/share/pixmaps"
- ln -s "/opt/${isim}/discord.png" "${PKG}/usr/share/pixmaps/${isim}.png"
- }
|