Commit d9875592 authored by Mark Wagie's avatar Mark Wagie
Browse files

[pkg-upd] pop-cosmic: 0.1.0.r76.fbcaa2c-4

- remove schema handling
parent cecd81df
From 8a6dbfcbbac0898d1500145f54a7c197dff5d458 Mon Sep 17 00:00:00 2001
From: Carl George <carl@george.computer>
Date: Sun, 18 Jul 2021 17:38:36 -0500
Subject: [PATCH] Remove schema handling from Makefile
---
Makefile | 5 -----
1 file changed, 5 deletions(-)
diff --git a/Makefile b/Makefile
index 7750088..471d62a 100644
--- a/Makefile
+++ b/Makefile
@@ -14,8 +14,6 @@ SRC = extension.js \
metadata.json \
overview.js \
prefs.js \
- schemas/gschemas.compiled \
- schemas/org.gnome.shell.extensions.pop-cosmic.gschema.xml \
settings.js \
topBarButton.js
@@ -30,9 +28,6 @@ all: $(SRC)
cp $$i build/$$i ; \
done
-schemas/gschemas.compiled: schemas/*.gschema.xml
- glib-compile-schemas schemas
-
clean:
rm -rf build
--
2.31.1
......@@ -2,7 +2,7 @@
pkgname=pop-cosmic
pkgver=0.1.0.r76.fbcaa2c
pkgrel=3
pkgrel=4
pkgdesc="Computer Operating System Main Interface Components"
arch=('any')
url="https://github.com/pop-os/cosmic"
......@@ -14,8 +14,10 @@ makedepends=('dpkg' 'git')
optdepends=('pop-gtk-theme: Pop!_OS theme')
_commit=fbcaa2c071330a73e7b13b407e8b7fb0251eeace
source=("git+https://github.com/pop-os/cosmic.git#commit=$_commit"
'0001-Remove-schema-handling-from-Makefile.patch'
'theme.patch')
sha256sums=('SKIP'
'3af468faaa7b744b772b111fbb8f04ee8324713354a204e4862b21fea84989f5'
'72aac6229812ca9abca187c156798774a07d178e590dde2f89a02faa97cbf05a')
#validpgpkeys=('DA0878FCF806089ED4FDDF58E988B49EE78A7FB1') # Jeremy Soller <jeremy@system76.com>
......@@ -27,6 +29,7 @@ pkgver() {
prepare() {
cd "$srcdir/cosmic"
patch -Np1 -i ../0001-Remove-schema-handling-from-Makefile.patch
patch --strip=1 extension.js < ../theme.patch
sed -i 's/AppIconMenu/AppMenu/g' extension.js
......@@ -43,10 +46,6 @@ package() {
cp -r usr "$pkgdir"
_uuid="${pkgname}@system76.com"
_schema="org.gnome.shell.extensions.$pkgname.gschema.xml"
install -d "$pkgdir/usr/share/glib-2.0/schemas"
ln -s "/usr/share/gnome-shell/extensions/$_uuid/schemas/$_schema" \
install -Dm644 "schemas/org.gnome.shell.extensions.$pkgname.gschema.xml" -t \
"$pkgdir/usr/share/glib-2.0/schemas"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment