[arch-commits] Commit in xdg-desktop-portal/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Mon Jun 5 20:58:28 UTC 2017
Date: Monday, June 5, 2017 @ 20:58:27
Author: heftig
Revision: 297816
0.7-1
Modified:
xdg-desktop-portal/trunk/PKGBUILD
----------+
PKGBUILD | 35 +++++++++++++++++++++++------------
1 file changed, 23 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-05 20:49:30 UTC (rev 297815)
+++ PKGBUILD 2017-06-05 20:58:27 UTC (rev 297816)
@@ -3,30 +3,41 @@
# Contributor: Patrick Griffis <tingping at tingping.se>
pkgname=xdg-desktop-portal
-pkgver=0.6
+pkgver=0.7
pkgrel=1
-pkgdesc='Desktop integration portals for sandboxed apps'
-arch=('i686' 'x86_64')
-url='https://github.com/flatpak/xdg-desktop-portal'
-license=('LGPL2.1')
-depends=('glib2')
-makedepends=('python' 'flatpak' 'xmlto' 'docbook-xsl')
-source=(https://github.com/flatpak/xdg-desktop-portal/releases/download/$pkgver/$pkgname-$pkgver.tar.xz)
-sha256sums=('fbaa92c1761167a1d9bd54232843dcf8cf53bb6e47709c7bda0fa89804a1c8e5')
+pkgdesc="Desktop integration portals for sandboxed apps"
+url="https://github.com/flatpak/xdg-desktop-portal"
+arch=(i686 x86_64)
+license=(LGPL2.1)
+depends=(glib2)
+makedepends=(python flatpak xmlto docbook-xsl git)
+_commit=db9c5060b9483ec9493811449d21001826dc0dc2 # tags/0.7^0
+source=("git+https://github.com/flatpak/xdg-desktop-portal#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 --libexecdir=/usr/lib
make
}
check() {
- cd $pkgname-$pkgver
+ cd $pkgname
make check
}
package() {
depends+=('xdg-desktop-portal-impl')
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list