Created
September 13, 2020 08:21
-
-
Save oct2pus/8d18ab6c88d8606aa6f63104818a0ab9 to your computer and use it in GitHub Desktop.
PKGBUILD for gnome-shell-extension-caffeine
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
# Maintainer: Octopus Octopus<oct2pus@jade.moe> | |
pkgname=gnome-shell-extension-caffeine | |
pkgver=35 | |
pkgrel=1 | |
pkgdesc="Disable screensaver and auto suspend" | |
arch=('any') | |
url="https://github.com/eonpatapon/gnome-shell-extension-caffeine" | |
license=('custom') | |
depends=('gnome-shell') | |
source=(https://github.com/eonpatapon/$pkgname/archive/v$pkgver.tar.gz) | |
sha256sums=('5fed1198bd78e312a1f6e76cb7d5522f986f8db41098ce29f8f34d09da8146ba') | |
package() { | |
cd "$pkgname-$pkgver" | |
./update-locale.sh | |
glib-compile-schemas --strict --targetdir=caffeine@patapon.info/schemas/ caffeine@patapon.info/schemas | |
mkdir -p "$pkgdir/usr/share/gnome-shell/extensions" | |
cp -r caffeine@patapon.info "$pkgdir/usr/share/gnome-shell/extensions" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment