summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 10e438e29a0c..5ea54633d940 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gnome-shell-extension-mediaplayer-git
pkgdesc = A mediaplayer indicator for the Gnome Shell
pkgver = 3.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/JasonLG1979/gnome-shell-extensions-mediaplayer
install = gschemas.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index dc121c493836..a60cc8a9603b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=gnome-shell-extension-mediaplayer-git
pkgver=3.0
-pkgrel=1
+pkgrel=2
pkgdesc='A mediaplayer indicator for the Gnome Shell'
arch=('any')
url='https://github.com/JasonLG1979/gnome-shell-extensions-mediaplayer'
@@ -33,10 +33,11 @@ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
- sed -i \
- "/^SCHEMA_DIR/s/EXTENSION_DIR/$(
- )get_option('prefix'), get_option('datadir'), 'glib-2.0'/" \
- "$_gitname"/meson.build
+ sed -i "
+ /^if/s/not//
+ /DATA_DIR =/s/$/[1:]/
+ /^EXTENSION_DIR =/s/path\\.join(/&DEST_DIR,/
+ " "$_gitname"/meson_post_install.py
}
build() {