summaryrefslogtreecommitdiff
path: root/community/buoh/PKGBUILD
blob: 0d0ba0118861cea039d3a9154f969c6c71a3c0ca (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
# $Id: PKGBUILD 70031 2012-04-28 12:10:05Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=buoh
pkgver=0.8.2
pkgrel=6
pkgdesc="Reader for online strips comics"
arch=('i686' 'x86_64')
url="http://buoh.steve-o.org/"
license=('GPL')
depends=('gtk2' 'libsoup>=2.4.0' 'gconf' 'hicolor-icon-theme')
makedepends=('intltool')
options=('!emptydirs')
install=buoh.install
source=("http://buoh.steve-o.org/downloads/$pkgname-$pkgver.tar.bz2"
        buoh-libsoup24.patch)
md5sums=('50474a8712ad20ab36d8f8058a4647fb'
         'c44f0e1828492a5d7d8efee764558fb4')
sha1sums=('29d702b485a901868f65116e753cb515b3e2a2c5'
          '012badf13e33818268b744e106bdcccfd8fc66ed')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  patch -p1 < ../buoh-libsoup24.patch
  autoconf

  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
              --disable-schemas-install \
              --with-gconf-schema-file-dir=/usr/share/gconf/schemas --without-libgnomeui
  make AM_CFLAGS=-lxml2
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
}