archrelease: copy trunk to extra-x86_64
[arch-packages.git] / xdg-user-dirs-gtk / trunk / PKGBUILD
blobfcb7f607599e6d2246f0d747419c245b0c9af9cf
1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
3 pkgname=xdg-user-dirs-gtk
4 pkgver=0.10+9+g5b7efc6
5 pkgrel=3
6 pkgdesc="Creates user dirs and asks to relocalize them"
7 arch=(x86_64)
8 license=('GPL')
9 depends=('gtk3' 'xdg-user-dirs')
10 makedepends=('intltool' gnome-common git)
11 options=('!emptydirs')
12 url="https://www.gnome.org"
13 groups=('gnome')
14 _commit=5b7efc6fcb5f3de1aba6f8de5f3d90870fea6f8d  # master
15 source=("git+https://gitlab.gnome.org/GNOME/xdg-user-dirs-gtk.git#commit=$_commit"
16         show-in-mate.patch)
17 sha256sums=('SKIP'
18             'b71317c1b7ef5a303736787cbfc37f44e884ca2ec1ee8def22a970132254f827')
20 pkgver() {
21   cd $pkgname
22   git describe --tags | sed 's/-/+/g'
25 prepare() {
26   cd $pkgname
27   patch -Np1 -i ../show-in-mate.patch
28   NOCONFIGURE=1 ./autogen.sh
31 build() {
32   cd $pkgname
33   ./configure --prefix=/usr --sysconfdir=/etc --disable-more-warnings
34   make
37 package() {
38   cd $pkgname
39   make DESTDIR="$pkgdir" install