[arch-commits] Commit in nautilus-image-converter/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 14:15:41 UTC 2020


    Date: Tuesday, July 7, 2020 @ 14:15:41
  Author: felixonmars
Revision: 658789

archrelease: copy trunk to community-staging-x86_64

Added:
  nautilus-image-converter/repos/community-staging-x86_64/
  nautilus-image-converter/repos/community-staging-x86_64/PKGBUILD
    (from rev 658787, nautilus-image-converter/trunk/PKGBUILD)

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

Copied: nautilus-image-converter/repos/community-staging-x86_64/PKGBUILD (from rev 658787, nautilus-image-converter/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 14:15:41 UTC (rev 658789)
@@ -0,0 +1,36 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=nautilus-image-converter
+pkgver=0.3.0+31+g23441ed
+pkgrel=3
+pkgdesc="Nautilus extension to rotate/resize image files"
+arch=('x86_64')
+url="https://git.gnome.org/browse/nautilus-image-converter"
+license=('GPL')
+depends=('imagemagick' 'nautilus')
+makedepends=('git' 'gnome-common')
+_commit=23441ed6d74b4eba68333c802890cb396721a6d6  # master
+source=("git+https://gitlab.gnome.org/Archive/nautilus-image-converter#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+	cd $pkgname
+	git describe --tags | sed 's/^NAUTILUS_IMAGE_CONVERTER_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+	cd $pkgname
+	NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+	cd $pkgname
+	./configure --prefix=/usr
+	sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+	make
+}
+
+package() {
+	cd $pkgname
+	make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list