[arch-commits] Commit in gnome-search-tool/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sun Aug 25 20:57:21 UTC 2019
Date: Sunday, August 25, 2019 @ 20:57:21
Author: heftig
Revision: 361179
3.6.0+82+g4a8f34e-1
Modified:
gnome-search-tool/trunk/PKGBUILD
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++------------
1 file changed, 29 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-25 20:48:09 UTC (rev 361178)
+++ PKGBUILD 2019-08-25 20:57:21 UTC (rev 361179)
@@ -1,27 +1,44 @@
# Maintainer: Ionut Biru <ibiru at archlinux.org>
pkgname=gnome-search-tool
-pkgver=3.6.0
-pkgrel=4
+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)
-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')
+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-$pkgver"
+ cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc
make
}
+check() {
+ make -C $pkgname check
+}
+
package() {
- cd "$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" make -C $pkgname install
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list