summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4d688bcec7c60e34e04ae29adc26dfadd1258216 (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
48
49
50
51
# 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.36+3+g91493c26
pkgrel=1
pkgdesc="GNOME application for managing encryption keys and passwords in the
GNOME Keyring."
url="https://wiki.gnome.org/Apps/Seahorse"
arch=(x86_64)
license=(GPL)
options=(debug !strip)
depends=(gtk3 gcr libsecret libsoup gpgme gnome-keyring libpwquality libhandy)
conflicts=('seahorse')
provides=('seahorse')
makedepends=(libldap yelp-tools gobject-introspection vala git meson)
provides=(x11-ssh-askpass)

# Tag: 3.30.0: 7e0535880a2010df356d9c468c68cdcb77b45431
#_commit=7e0535880a2010df356d9c468c68cdcb77b45431
#source=("git+https://gitlab.gnome.org/GNOME/seahorse.git#commit=$_commit")

source=("git+https://gitlab.gnome.org/GNOME/seahorse.git")
sha256sums=('SKIP')

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

prepare() {
  cd seahorse/
}

build() {
  rm -rf build
  meson --prefix /usr --buildtype=plain seahorse build
  ninja -C build
}

check() {
  cd build
  meson test
}

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