summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: edd6907d69c70783f630ac86189b536a7d3f463f (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
44
45
46
47
# Maintainer: Josef Vybíhal <josef.vybihal@gmail.com>
# Note: Package builds on PKGBUILD from ABS, provides latest version from
#       git master branch of Seahorse.
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Michel Brabants <michel.linux@tiscali.be>
pkgname=seahorse-git
pkgver=3.29.90+10+g9496a0d1
pkgrel=3
pkgdesc="GNOME application for managing PGP keys. Master branch."
url="https://wiki.gnome.org/Apps/Seahorse"
arch=(x86_64)
license=(GPL)
depends=(gtk3 gcr libsecret libsoup gpgme gnome-keyring)
conflicts=('seahorse')
provides=('seahorse')
makedepends=(libldap yelp-tools gobject-introspection vala git meson)
provides=(x11-ssh-askpass)
#_commit=9496a0d19efd681850dbfe38012c5db4709f591e  # master
source=("git+https://gitlab.gnome.org/GNOME/seahorse.git"
        0001-LDAP-source-Fix-non-debug-build.patch)
sha256sums=('SKIP'
            '7c45e55f9d98510e1f9305af71d9a11d66fd15100ed29239493c94d591eb9e98')

pkgver() {
  cd seahorse/
  git describe --tags | sed 's/-/+/g'
}

prepare() {
  cd seahorse/
  patch -Np1 -i ../0001-LDAP-source-Fix-non-debug-build.patch
}

build() {
  arch-meson seahorse build
  ninja -C build
}

check() {
  cd build
  meson test
}

package() {
  DESTDIR="$pkgdir" ninja -C build install
}