summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d7c3a11253a6c6c39a636619d2acd6934250123b (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
37
38
39
40
41
# vim:ts=2:sw=2:expandtab
# Maintainer: peelz <peelz.dev+arch@gmail.com>

_commit="c4ee870d30af5c5a37f8d4a2eb05197ae7ec4a1e"
pkgname="xmousepasteblock"
pkgver="1.4"
pkgrel="2"
pkgdesc="Userspace tool to disable middle mouse button paste in Xorg"
arch=("i686" "x86_64")
url="https://github.com/milaq/XMousePasteBlock"
license=("GPL")
conflicts=(
  # FIXME: xmousepasteblock-git should conflict with xmousepasteblock,
  # not the other way around.
  "xmousepasteblock-git"
)
depends=(
  "libxi"
  "libx11"
  "libev"
  "libxfixes"
)
makedepends=(
  "git"
)
source=(
  "xmpb::git+https://github.com/milaq/XMousePasteBlock.git#commit=${_commit}"
)
sha256sums=(
  "SKIP"
)

build() {
  cd "${srcdir}/xmpb"
  make all
}

package() {
  cd "${srcdir}/xmpb"
  make DESTDIR="${pkgdir}/" install
}