[arch-commits] Commit in file-roller/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Sep 27 14:14:45 UTC 2016
Date: Tuesday, September 27, 2016 @ 14:14:45
Author: heftig
Revision: 277051
3.22.0+4+geb2720a-1
Modified:
file-roller/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-27 14:11:44 UTC (rev 277050)
+++ PKGBUILD 2016-09-27 14:14:45 UTC (rev 277051)
@@ -3,7 +3,7 @@
# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=file-roller
-pkgver=3.20.3
+pkgver=3.22.0+4+geb2720a
pkgrel=1
pkgdesc="Create and modify archives"
url="https://wiki.gnome.org/Apps/FileRoller"
@@ -10,7 +10,7 @@
arch=(i686 x86_64)
license=(GPL)
depends=(gtk3 dconf libarchive file json-glib libnotify zip unzip)
-makedepends=(intltool libnautilus-extension itstool docbook-xsl)
+makedepends=(intltool itstool docbook-xsl gnome-common git)
optdepends=('p7zip: 7z, arj, exe and encrypted zip files support'
'unrar: better RAR archive support'
'unace: ACE archive support'
@@ -17,11 +17,22 @@
'lrzip: lrzip archive support')
groups=(gnome-extra)
options=(!emptydirs)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('6b5c2de4c6bd52318cacd2a398cdfa45a5f1df8a77c6652a38a6a1d3e53644e9')
+_commit=eb2720af85e3127b00164a10ef758672b5ec34de
+source=("git://git.gnome.org/file-roller#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 --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/$pkgname --disable-static --disable-schemas-compile
@@ -32,6 +43,6 @@
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list