diff options
author | pescepalla | 2019-02-21 16:42:39 +0100 |
---|---|---|
committer | pescepalla | 2019-02-21 16:42:39 +0100 |
commit | a55936b5042919d653c8fcf6d1889486f0acc751 (patch) | |
tree | eceeb8a674f5ff1fec85aee7be410450cd23cf0c | |
parent | ccbdfddfb6b6aa084d1cab8964dae06ce93b3efb (diff) | |
download | aur-a55936b5042919d653c8fcf6d1889486f0acc751.tar.gz |
added instruction to remove local schema
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -35,7 +35,7 @@ pkgver() { build() { cd "${pkgname}" - ./autogen.sh + ./autogen.sh --prefix=/usr --libexecdir=/usr/lib/ibus ./configure --prefix=/usr --libexecdir=/usr/lib/ibus make } @@ -47,6 +47,12 @@ build() { package() { cd "${pkgname}" + #remove local schema if it exists because it may conflict with /usr/share/glib-2.0/schemas/org.freedesktop.ibus.engine.typing-booster.gschema.xml + SCHEMA="/usr/local/share/glib-2.0/schemas/org.freedesktop.ibus.engine.typing-booster.gschema.xml" + if [ -f $SCHEMA ] + then + rm $SCHEMA + fi + #install make DESTDIR="$pkgdir/" install - glib-compile-schemas /usr/share/glib-2.0/schemas/ } |