summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 25b27a6269bd126f65e8479fe01f22513a0c434d (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
# Maintainer mattf <matheusfillipeag@gmail.com>

pkgname=warpd-git
pkgver=r238.6ece9f2
_gitname=warpd
pkgrel=1
pkgdesc="A modal keyboard driven interface for mouse manipulation."
url="https://github.com/rvaiya/warpd"
license=('MIT')
arch=('x86_64')
md5sums=('SKIP')
makedepends=(git)
depends=(libxinerama libxft libxfixes libxtst libx11 libxkbcommon cairo)
optdepends=('wayland: wayland support')
provides=(warpd)
conflicts=(warpd warpd-wayland warpd-wayland-git)
source=("git+$url")

pkgver() {
  cd ${_gitname}
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build () {
  cd ${_gitname}
  make
}

package () {
  cd ${_gitname}
  make install DESTDIR="$pkgdir" PREFIX="/usr"
}