[arch-commits] Commit in gpaste/repos (2 files)
Jan Steffens
heftig at archlinux.org
Sun Sep 27 17:11:36 UTC 2020
Date: Sunday, September 27, 2020 @ 17:11:35
Author: heftig
Revision: 396794
archrelease: copy trunk to gnome-unstable-x86_64
Added:
gpaste/repos/gnome-unstable-x86_64/
gpaste/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 396790, gpaste/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: gpaste/repos/gnome-unstable-x86_64/PKGBUILD (from rev 396790, gpaste/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2020-09-27 17:11:35 UTC (rev 396794)
@@ -0,0 +1,39 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=gpaste
+pkgver=3.38.0
+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=421df163626bec9884bc8991b542f32d9bb26e59 # tags/v3.38.0^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() {
+ DESTDIR="$pkgdir" meson install -C build
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/COPYING
+}
More information about the arch-commits
mailing list