blob: e0fa08f0b94f425e79f4392ed13a31aef952b89e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Mahmud Ridwan <m[at]hjr265[dot]me>
pkgname=ibus-avro-git
pkgver=20141017
pkgrel=1
pkgdesc="Avro Phonetic Bangla typing for Linux"
url="http://linux.omicronlab.com"
arch=('x86_64' 'i686')
license=('MPL')
depends=('ibus' 'gjs')
makedepends=('autoconf' 'automake')
install=$pkgname.install
build() {
cd "$srcdir"
if [ -e $pkgname ]; then
cd $pkgname
git pull
git checkout develop
else
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
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" installdeb
install -Dm644 MPL-1.1.txt "$pkgdir/usr/share/licenses/$pkgname/COPYING"
rmdir "$pkgdir/usr/libexec"
}
|