summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMahmud Ridwan2016-09-25 16:41:03 +0600
committerMahmud Ridwan2016-09-25 16:41:03 +0600
commit96a188b0ba10c08175e7fb9cea08c00bd7e4c6da (patch)
treec75458b1b97484ef6203262829feaecf0c80b61e
parenta0aac77615d4191da9d140e5b4fca34ac9e510fe (diff)
downloadaur-96a188b0ba10c08175e7fb9cea08c00bd7e4c6da.tar.gz
Fix issue where Avro produces Arabic characters
-rwxr-xr-xPKGBUILD8
-rwxr-xr-xibus-avro-git.install4
2 files changed, 7 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e0fa08f0b94..c3799df84c3 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Mahmud Ridwan <m[at]hjr265[dot]me>
pkgname=ibus-avro-git
-pkgver=20141017
+pkgver=20150925
pkgrel=1
pkgdesc="Avro Phonetic Bangla typing for Linux"
url="http://linux.omicronlab.com"
@@ -21,13 +21,13 @@ build() {
git clone -b develop git://github.com/sarim/ibus-avro.git $pkgname
cd $pkgname
fi
-
+
aclocal || return 1
autoconf || return 1
automake --add-missing
./configure --prefix=/usr
-
+
make || return 1
}
@@ -37,5 +37,7 @@ package() {
make DESTDIR="$pkgdir" installdeb
install -Dm644 MPL-1.1.txt "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ sed -i 's|<layout>bn</layout>|<layout>us</layout>|' "$pkgdir/usr/share/ibus/component/ibus-avro.xml"
+
rmdir "$pkgdir/usr/libexec"
}
diff --git a/ibus-avro-git.install b/ibus-avro-git.install
index 6354524b64b..c19349f7230 100755
--- a/ibus-avro-git.install
+++ b/ibus-avro-git.install
@@ -1,5 +1,5 @@
post_install() {
- glib-compile-schemas /usr/share/glib-2.0/schemas
+ glib-compile-schemas /usr/share/glib-2.0/schemas
}
post_upgrade() {
@@ -8,4 +8,4 @@ post_upgrade() {
post_remove() {
post_install
-} \ No newline at end of file
+}