diff options
author | XZS | 2017-09-28 14:28:26 +0200 |
---|---|---|
committer | XZS | 2017-09-28 14:34:17 +0200 |
commit | 2f2530e2bc964ab7be11417dda9c75d9c5446763 (patch) | |
tree | fd40beec2c5b746f47d2b9210906f9c521268075 | |
parent | a19e92dd504b1796d678bff1628d5ba63489f571 (diff) | |
download | aur-2f2530e2bc964ab7be11417dda9c75d9c5446763.tar.gz |
patch schema location
Instead of moving the schema to the correct location after installation,
the installation directives can be patched to place it there to begin
with.
As this change does not modify the package contents, but just how they
come to be, it refrains from incrementing the pkgrel count.
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -31,6 +31,13 @@ pkgver() { 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 +} + build() { cd "$_gitname" rm -rf builddir @@ -50,12 +57,6 @@ package_01_ninja_install() { DESTDIR="$pkgdir" ninja -C builddir install } -package_02_move_schema() { - cd "$pkgdir/usr/share" - mkdir -p glib-2.0/schemas - mv gnome-shell/extensions/*/schemas/*.xml glib-2.0/schemas -} - depends[125]=gnome-shell package_20_version() { |