2017-06-10 01:50:15 +08:00
|
|
|
# Contributions from ArchLinux: https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/gnome-keyring
|
|
|
|
|
|
|
|
pkgname=gnome-keyring
|
2019-01-24 16:27:36 +08:00
|
|
|
pkgver=3.28.2
|
2017-06-10 01:50:15 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Stores passwords and encryption keys"
|
|
|
|
url="https://wiki.gnome.org/Projects/GnomeKeyring"
|
|
|
|
arch=(x86_64)
|
|
|
|
license=(GPL LGPL)
|
|
|
|
depends=(gcr libcap-ng pam)
|
|
|
|
makedepends=(intltool gtk-doc gnome-common git python3)
|
|
|
|
install=gnome-keyring.install
|
2019-01-24 16:27:36 +08:00
|
|
|
_commit=c2b54cdd3498ca443fbcb6dc66ff2e6e7b3c44b0 # tags/3.28.2^0
|
2017-06-10 01:50:15 +08:00
|
|
|
source=("git+https://git.gnome.org/browse/gnome-keyring#commit=$_commit")
|
|
|
|
sha256sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd $pkgname
|
|
|
|
git describe --tags | sed 's/-/+/g'
|
|
|
|
}
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $pkgname
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$pkgname"
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc \
|
|
|
|
--localstatedir=/var --disable-static \
|
|
|
|
--libexecdir=/usr/lib/gnome-keyring \
|
|
|
|
--with-pam-dir=/usr/lib/security --with-root-certs=/etc/ssl/certs \
|
|
|
|
--disable-schemas-compile
|
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$pkgname"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|