[arch-commits] Commit in sushi/repos (2 files)
Jan Steffens
heftig at archlinux.org
Wed Sep 5 21:24:06 UTC 2018
Date: Wednesday, September 5, 2018 @ 21:24:06
Author: heftig
Revision: 333579
archrelease: copy trunk to gnome-unstable-x86_64
Added:
sushi/repos/gnome-unstable-x86_64/
sushi/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 333578, sushi/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: sushi/repos/gnome-unstable-x86_64/PKGBUILD (from rev 333578, sushi/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2018-09-05 21:24:06 UTC (rev 333579)
@@ -0,0 +1,43 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=sushi
+pkgver=3.30.0
+pkgrel=1
+pkgdesc="A quick previewer for Nautilus"
+url="https://gitlab.gnome.org/GNOME/sushi"
+arch=(x86_64)
+license=(GPL2)
+groups=(gnome)
+depends=(clutter-gtk clutter-gst gjs libmusicbrainz5 webkit2gtk gtksourceview3 evince)
+optdepends=('libreoffice: OpenDocument formats')
+makedepends=(intltool gobject-introspection git)
+_commit=9178916157fa2cf023610b4695486b570cabdb8a # tags/3.30.0^0
+source=("git+https://gitlab.gnome.org/GNOME/sushi.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ mkdir m4
+ intltoolize
+ autoreconf -fvi
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr --libexecdir=/usr/lib
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list