db-move: moved gnome-weather from [staging] to [testing] (any)
[arch-packages.git] / gpaste / trunk / PKGBUILD
blob6735111bc523163755eda6b9b83d526e4d893039
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=gpaste
4 pkgver=44.0
5 pkgrel=1
6 pkgdesc="Clipboard management system"
7 url="https://www.imagination-land.org/tags/GPaste.html"
8 license=(BSD)
9 arch=(x86_64)
10 depends=(
11   gcr-4
12   gtk3
13   gtk4
14   libadwaita
16 makedepends=(
17   git
18   gnome-control-center
19   gnome-shell
20   gobject-introspection
21   meson
22   vala
24 optdepends=("wgetpaste: Upload clipboard contents")
25 _commit=b3163ce64662c3d5661fe1a0a81f91a4f8852200  # tags/v44.0^0
26 source=("git+https://github.com/keruspe/gpaste#commit=$_commit")
27 b2sums=('SKIP')
29 pkgver() {
30   cd gpaste
31   git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
34 prepare() {
35   cd gpaste
38 build() {
39   arch-meson gpaste build
40   meson compile -C build
43 check() {
44   meson test -C build --print-errorlogs
47 package() {
48   meson install -C build --destdir "$pkgdir"
49   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 gpaste/COPYING
52 # vim:set sw=2 sts=-1 et: