1 # Contributor: linuxSEAT <--put_my_name_here--@gmail.com>
2 # Contributor: Nezmer <Nezmer@allurelinux.org>
7 pkgdesc="A bidirectional console"
8 url="http://www.arabeyes.org/"
13 source=(http://downloads.sourceforge.net/arabeyes/$pkgname-$pkgver.tar.gz
15 noextract=('arabic.map.gz')
16 md5sums=('911600c6e9fd3595bea95ae250b8f96a'
17 '4f1d5f13969ba7f571e77f80612db480')
18 LDFLAGS=${LDFLAGS//-Wl,--as-needed}
21 cd $srcdir/$pkgname-$pkgver
22 ./configure --prefix=/usr --mandir=/usr/share/man
24 make DESTDIR="${pkgdir}" install || return 1
25 #remove non-working keymap
26 rm -f "$pkgdir/usr/share/bicon/keymap/arabic.map.gz" || return 1
27 #install working keymap
28 install -D -m644 ../../arabic.map.gz "$pkgdir/usr/share/bicon/keymap/arabic.map.gz"
29 #important keymap and font links
30 install -d "$pkgdir/usr/share/kbd/keymaps"
31 for i in `ls -1 $pkgdir/usr/share/bicon/keymap`;do
32 ln -sf "/usr/share/bicon/keymap/$i" "$pkgdir/usr/share/kbd/keymaps/" || return 1
34 install -d "${pkgdir}/usr/share/kbd/consolefonts"
35 for i in `ls -1 "$pkgdir/usr/share/bicon/font"`;do
36 ln -sf "/usr/share/bicon/font/$i" "$pkgdir/usr/share/kbd/consolefonts/" || return 1