[arch-commits] Commit in gnome-screenshot/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Sep 27 20:00:38 UTC 2016
Date: Tuesday, September 27, 2016 @ 20:00:38
Author: heftig
Revision: 277146
3.22.0+1+g7568f0e-1
Modified:
gnome-screenshot/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-27 20:00:33 UTC (rev 277145)
+++ PKGBUILD 2016-09-27 20:00:38 UTC (rev 277146)
@@ -3,7 +3,7 @@
# Contributor: Ionut Biru <ibiru at archlinux.org>
pkgname=gnome-screenshot
-pkgver=3.20.1
+pkgver=3.22.0+1+g7568f0e
pkgrel=1
pkgdesc="Take pictures of your screen"
url="https://git.gnome.org/browse/gnome-screenshot"
@@ -10,19 +10,30 @@
arch=(i686 x86_64)
license=(GPL2)
depends=(dconf gtk3 libcanberra)
-makedepends=(intltool)
+makedepends=(intltool git)
groups=(gnome)
-source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('06a89b6887146cdbbeb64adf11bdae21acf22b0422337041c66eedb21ef7e143')
+_commit=7568f0e9787d1ab3f84b93ac42dcef4a0a1d7ddb # master
+source=("git://git.gnome.org/gnome-screenshot#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
./configure --prefix=/usr
make
}
package() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list