[arch-commits] Commit in gnome-search-tool/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun Aug 25 20:57:44 UTC 2019


    Date: Sunday, August 25, 2019 @ 20:57:44
  Author: heftig
Revision: 361180

archrelease: copy trunk to extra-x86_64

Added:
  gnome-search-tool/repos/extra-x86_64/PKGBUILD
    (from rev 361179, gnome-search-tool/trunk/PKGBUILD)
Deleted:
  gnome-search-tool/repos/extra-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-25 20:57:21 UTC (rev 361179)
+++ PKGBUILD	2019-08-25 20:57:44 UTC (rev 361180)
@@ -1,27 +0,0 @@
-# Maintainer: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=gnome-search-tool
-pkgver=3.6.0
-pkgrel=4
-pkgdesc="Utility to search for files"
-arch=(x86_64)
-url="https://git.gnome.org/browse/gnome-search-tool"
-license=('GPL2')
-depends=('nautilus' 'libsm')
-makedepends=('intltool' 'yelp-tools')
-options=('!emptydirs')
-source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('a33000cd7d033be4ea50422f0f2cca611da5b79bd0f0875017f105a1bc177f42')
-
-build() {
-  cd "$pkgname-$pkgver"
-  ./configure --prefix=/usr --sysconfdir=/etc
-  make
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: gnome-search-tool/repos/extra-x86_64/PKGBUILD (from rev 361179, gnome-search-tool/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-25 20:57:44 UTC (rev 361180)
@@ -0,0 +1,44 @@
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gnome-search-tool
+pkgver=3.6.0+82+g4a8f34e
+pkgrel=1
+pkgdesc="Utility to search for files"
+url="https://gitlab.gnome.org/Archive/gnome-search-tool"
+arch=(x86_64)
+license=(GPL2)
+depends=(nautilus libsm)
+makedepends=(intltool yelp-tools git gnome-common)
+_commit=4a8f34e050fb794852264cf54feb7d449dd15965  # master
+source=("git+https://gitlab.gnome.org/Archive/gnome-search-tool.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  # Fix configure
+  sed -i '/^AM_GNU_GETTEXT/d' configure.ac
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc
+  make
+}
+
+check() {
+  make -C $pkgname check
+}
+
+package() {
+  DESTDIR="$pkgdir" make -C $pkgname install
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list