updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / abaco / PKGBUILD
blob287b4bfdf5cb284144e14033cbfa8a3f508d651d
1 # Contributor: Fazlul Shahriar <fshahriar@gmail.com>
2 pkgname=abaco
3 pkgver=20081120
4 pkgrel=1
5 pkgdesc="A multi-page graphical web browser"
6 arch=('i686' 'x86_64')
7 url="http://lab-fgb.com/abaco/"
8 license=('custom')
9 depends=('glibc' 'plan9port')
10 makedepends=('plan9port')
11 source=("http://rain.ifmo.ru/~olegfink/$pkgname-p9p.tgz")
12 md5sums=('05af8ccc4ca335bdcced809bfd0a3aa1')
14 build() {
15   source /etc/profile.d/plan9.sh
17   cd "$srcdir/$pkgname"
19   # fonts
20   sed -i "s|/usr/local/plan9/font/lucsans/passwd.6.font|/usr/share/abaco/passwd.6.font|" abaco/main.c
21   install -D abaco/passwd.6.font $pkgdir/usr/share/abaco/passwd.6.font
22   sed -i "s|/usr/local/plan9|$PLAN9|g" abaco/*.[ch]
24   9 mk || return 1
25   install -D abaco/o.abaco $pkgdir/usr/bin/abaco.bin
26   install -D abaco.sh $pkgdir/usr/bin/abaco
27   install -D webfs/o.webfs $pkgdir/usr/bin/webfs
28   install -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
31 # vim:set ts=2 sw=2 et: