summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2ddc10abee200f88ac25b3881c042910db69bee2 (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
42
43
# Maintainer: Adrian Cochrane <alcinnz@lavabit.com>
pkgname=odysseus
pkgver=1.7.2
pkgrel=1
pkgdesc="Web browser for the open and decentralized web."
url="https://odysseus.adrian.geek.nz"
license=('GPL')
arch=('i686' 'x86_64')
depends=(
    'gtk3'
    'granite'
    'webkit2gtk'
    'json-glib'
    'libsoup'
    'sqlite'
    'appstream'
    'gcr'
    'gettext'
)
makedepends=(
    'meson'
    'vala'
)
optdepends=(
    'archlinux-appstream-data: compatible app recommendations for hyperlinks'
    'html-xml-utils: webfeed autodiscovery'
)
source=(https://github.com/alcinnz/Odysseus/archive/$pkgver.tar.gz)
md5sums=(5151ab0ae2a24fb098ef22dcec30b385) #autofill using updpkgsums

build() {
  cd "Odysseus-$pkgver"

  [ -d build ] && rm -rf build
  meson build --prefix=/usr --buildtype=release
  ninja -C build
}

package() {
  cd "Odysseus-$pkgver"

  DESTDIR="$pkgdir" ninja -C build install
}