blob: dc434173c706acb59048eb1f50fce401a7d92d4d (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
# Maintainer: Pellegrino Prevete <pellegrinoprevete@gmail.com>
# Maintainer: Truocolo <truocolo@aol.com>
_pkgname=gnome-keyring
pkgname="${_pkgname}-git"
pkgver=3.36.0+12+g4f531000
pkgrel=1
epoch=1
pkgdesc="Stores passwords and encryption keys"
url="https://wiki.gnome.org/Projects/GnomeKeyring"
arch=(x86_64)
license=(
GPL
LGPL)
depends=(
'gcr-4'
'libcap-ng'
'pam'
'openssh')
makedepends=(
'git'
'docbook-xsl'
'python'
)
provides=(
'gnome-keyring'
'org.freedesktop.secrets')
conflicts=(
'gnome-keyring')
groups=(
'gnome')
install="${_pkgname}.install"
source=(
"git+https://gitlab.gnome.org/GNOME/gnome-keyring.git"
33.patch
add-cinnamon.diff)
sha256sums=(
'SKIP'
'23294d6569bb7c8297cc2f95071576fac48ee82ec1ead1b818dd69fbbc72b069'
'd05210f5b0a7d4b22c0dff2854854af2eb5708aa2b296095e070dca68e9f815a')
pkgver() {
cd \
"${_pkgname}"
git \
describe \
--tags | \
sed \
's/-/+/g'
}
prepare() {
cd "${_pkgname}"
# https://bugs.archlinux.org/task/68664
# https://gitlab.gnome.org/GNOME/gnome-keyring/-/merge_requests/33
git \
apply \
-3 ../33.patch
# Autolaunch in Cinnamon
git \
apply \
-3 \
../add-cinnamon.diff
NOCONFIGURE=1 \
./autogen.sh
}
build() {
cd $_pkgname
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib \
--with-pam-dir=/usr/lib/security \
--disable-static \
--disable-schemas-compile
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
cd $_pkgname
# Secure memory tests fail
dbus-run-session make -k check || :
}
package() {
cd $_pkgname
make DESTDIR="$pkgdir" install
}
|