blob: 38134590239947ae79e53535804f0dc95c217d37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Michael Schubert <mschu.dev at gmail> github.com/mschubert/PKGBUILDs
# Contributor: Maxim Andersson <thesilentboatman@gmail.com>
_pkgname=drop-down-terminal
_uuid=drop-down-terminal@gs-extensions.zzrough.org
_pkgver=24
pkgname=gnome-shell-extension-$_pkgname
pkgver=24.patch3
pkgrel=2
pkgdesc="Drop Down Terminal extension for the Gnome Shell"
arch=('any')
url="https://github.com/zzrough/gs-extensions-$_pkgname"
license=('GPL3')
depends=('gnome-shell<1:43')
install=$_pkgname.install
source=($_pkgname-$pkgver.tar.gz::$url/archive/v$_pkgver.tar.gz
https://patch-diff.githubusercontent.com/raw/zzrough/gs-extensions-drop-down-terminal/pull/245.diff)
sha256sums=('abeaab555b48820f4f72224f3c60bbecd7c7cd696c42cd44fbaa7c5e763a990d'
'9086cb782959a315b33262e0ec77af32f2fe21733af612f1930cb8806bab14b7')
prepare() {
cd "gs-extensions-$_pkgname-$_pkgver"
patch --forward --strip=1 --input="$srcdir"/245.diff
sed -i '/shell-version/s|"],|", "40", "41", "41.1", "41.2", "42"],|' $_uuid/metadata.json
}
package() {
install -dm755 "$pkgdir"/usr/share/gnome-shell/extensions
install -dm755 "$pkgdir"/usr/share/glib-2.0/schemas
cd "$srcdir"/gs-extensions-drop-down-terminal-$_pkgver
mv $_uuid/org.zzrough.gs-extensions.drop-down-terminal.gschema.xml \
"$pkgdir"/usr/share/glib-2.0/schemas/
cp -af $_uuid "$pkgdir"/usr/share/gnome-shell/extensions/
}
|