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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Fri Mar 15 12:49:08 UTC 2019


    Date: Friday, March 15, 2019 @ 12:49:07
  Author: bpiotrowski
Revision: 348178

archrelease: copy trunk to gnome-unstable-x86_64

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

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

Copied: gpaste/repos/gnome-unstable-x86_64/PKGBUILD (from rev 348177, gpaste/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2019-03-15 12:49:07 UTC (rev 348178)
@@ -0,0 +1,44 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gpaste
+pkgver=3.32.0
+pkgrel=1
+pkgdesc="Clipboard management system"
+url="https://www.imagination-land.org/tags/GPaste.html"
+license=(BSD)
+arch=(x86_64)
+depends=(gtk3)
+makedepends=(intltool vala appstream-glib gobject-introspection gnome-shell gnome-control-center git)
+optdepends=("wgetpaste: Upload clipboard contents")
+_commit=74805fe91a1ff8884109a6d7887460a2c823e54d  # tags/v3.32.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
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc \
+    --enable-vala
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" COPYING
+}



More information about the arch-commits mailing list