forked from archlinux/svntogit-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
archrelease: copy trunk to testing-x86_64
git-svn-id: file:///srv/repos/svn-packages/svn@346995 eb2447ed-0c53-47e4-bac8-5bc4a241df78
- Loading branch information
heftig
committed
Mar 2, 2019
1 parent
026ee16
commit bbf85fd
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Maintainer: Jan de Groot <[email protected]> | ||
|
||
pkgname=libsecret | ||
pkgver=0.18.8 | ||
pkgrel=1 | ||
pkgdesc="Library for storing and retrieving passwords and other secrets" | ||
url="https://wiki.gnome.org/Projects/Libsecret" | ||
arch=(x86_64) | ||
license=(LGPL) | ||
depends=(glib2 libgcrypt) | ||
checkdepends=(python-dbus dbus-glib python-gobject gjs) | ||
makedepends=(docbook-xsl gobject-introspection vala git gtk-doc meson valgrind) | ||
optdepends=('gnome-keyring: key storage service, or use any other service implementing org.freedesktop.secrets') | ||
_commit=b5442654d483e959ac9ecd3a3fb9eebc8d9d8399 # tags/0.18.8^0 | ||
source=("git+https://gitlab.gnome.org/GNOME/libsecret.git#commit=$_commit") | ||
sha256sums=('SKIP') | ||
|
||
pkgver() { | ||
cd $pkgname | ||
git describe --tags | sed 's/-/+/g' | ||
} | ||
|
||
prepare() { | ||
cd $pkgname | ||
} | ||
|
||
build() { | ||
arch-meson $pkgname build | ||
ninja -C build | ||
} | ||
|
||
check() { | ||
dbus-run-session meson test -C build | ||
} | ||
|
||
package() { | ||
DESTDIR="$pkgdir" meson install -C build | ||
} | ||
|
||
# vim:set sw=2 et: |