summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 732685d2332ccbbdcb7f38b5c1fc7a0e432b627c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Gabriele Musco <emaildigabry@gmail.com>
# Upstream URL: https://gitlab.com/gabmus/hydrapaper

pkgname=hydrapaper-git
pkgver=1.7.2.r1.gbc7b2cd
pkgrel=1
pkgdesc='Wallpaper manager with multimonitor support for GNOME'
arch=('any')
url='https://gitlab.com/gabmus/hydrapaper'
license=('GPL3')
depends=('gtk3' 'python' 'python-pillow' 'libwnck3')
makedepends=('git' 'meson')
provides=('hydrapaper')
conflicts=('hydrapaper')
source=("hydrapaper::git+https://gitlab.com/gabmus/hydrapaper")
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/hydrapaper"
  git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "$srcdir/hydrapaper"
  rm -rf build
  mkdir build
  cd build
  meson --prefix /usr --buildtype release ..
  ninja
}

package() {
  cd "$srcdir/hydrapaper"
  cd build
  DESTDIR="$pkgdir" ninja install
}