[arch-commits] Commit in gpaste/repos (2 files)

Jan Steffens heftig at gemini.archlinux.org
Mon Nov 8 20:11:19 UTC 2021


    Date: Monday, November 8, 2021 @ 20:11:19
  Author: heftig
Revision: 427588

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  gpaste/repos/gnome-unstable-x86_64/
  gpaste/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 427587, gpaste/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: gpaste/repos/gnome-unstable-x86_64/PKGBUILD (from rev 427587, gpaste/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2021-11-08 20:11:19 UTC (rev 427588)
@@ -0,0 +1,39 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=gpaste
+pkgver=3.42.1
+pkgrel=1
+pkgdesc="Clipboard management system"
+url="https://www.imagination-land.org/tags/GPaste.html"
+license=(BSD)
+arch=(x86_64)
+depends=(gtk3)
+makedepends=(vala appstream-glib gobject-introspection gnome-shell
+             gnome-control-center git meson)
+optdepends=("wgetpaste: Upload clipboard contents")
+_commit=fb36d3292099524a2b533ba5b392cf8d10fe27f2  # tags/v3.42.1^0
+source=("git+https://github.com/keruspe/gpaste#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/COPYING
+}



More information about the arch-commits mailing list