summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 19a4cb43fa6abda8f31bc9f246cffdea738b2549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Jordan Cannon <LiteracyFanatic@gmail.com>
pkgname=clipevent
pkgver=0.1.0
pkgrel=1
pkgdesc='Listen for changes to the X11 clipboard and print them to stdout as JSON'
arch=(x86_64)
url='https://github.com/LiteracyFanatic/ClipEvent'
license=('MIT')
depends=(xclip xorg-xprop)
options=('!strip')
makedepends=(git dotnet-sdk)
source=("git+https://github.com/LiteracyFanatic/ClipEvent#tag=v$pkgver")
sha256sums=(SKIP)

build() {
	cd "$srcdir/ClipEvent"
	dotnet publish -o dist
}

package() {
	cd "$srcdir/ClipEvent"
	install -Dm 755 dist/clipevent "$pkgdir/usr/bin/clipevent"
}