summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9637fd1d6419e81d7d140a99f9dde8beddf31f89 (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.6.1
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=(5118b35f491da1b7ad19b49565f6f15d) #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
}