Date: Tuesday, March 13, 2018 @ 22:17:57
  Author: heftig
Revision: 318914

archrelease: copy trunk to gnome-unstable-x86_64

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

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

Copied: gpaste/repos/gnome-unstable-x86_64/PKGBUILD (from rev 318913, 
gpaste/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD                              (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD      2018-03-13 22:17:57 UTC (rev 318914)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com>
+
+pkgname=gpaste
+pkgver=3.28.0
+pkgrel=1
+pkgdesc="Clipboard management system"
+url="http://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=e633bc51d87a44c2d53dadcbd09c5422c75b409c  # tags/v3.28.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 -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Reply via email to