123456789101112131415161718192021222324252627 |
- # Tanım: Masaüstü karartma özelliğini etkinleştirir.
- # URL: https://github.com/sidneys/desktop-dimmer
- # Paketçi: Cihan_Alkan
- # Gerekler: help2man glib2
- # Grub:
- isim=desktop-dimmer
- _isim="Desktop Dimmer"
- surum=4.0.4
- devir=1
- kaynak=(https://github.com/sidneys/${isim}/releases/download/v${surum}/${isim}-${surum}.pacman::${isim}-${surum}.tar.xz)
- derle() {
- replace_str="\/opt\/${_isim}\/${surum}"
- install -dm755 "${PKG}/opt/"
- install -dm644 "${PKG}/usr/share/applications/"
- install -dm755 "${PKG}/usr/share/icons/"
- cp -r "${SRC}/opt/${_isim}" "${PKG}/opt/"
- cp -r "${SRC}/usr/share/applications/${isim}.desktop" "${PKG}/usr/share/applications/"
- cp -r "${SRC}/usr/share/icons" "${PKG}/usr/share/"
- mkdir -p "${PKG}/usr/bin"
- ln -s "/opt/${_isim}/${isim}" "${PKG}/usr/bin/${isim}"
- sed -i "s/${replace_str}/${isim}/g" "${PKG}/usr/share/applications/${isim}.desktop"
- }
|