blob: 34231e95394a25eac93d26adbd2dfbd2168a026b (
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
|
# Maintainer: Joost Molenaar <jjm@j0057.nl>
pkgname=clipmon-git
pkgver=r49.ed0d771
pkgrel=1
pkgdesc="clipmon monitors the wayland clipboard and does two things"
arch=(x86_64)
url="https://git.sr.ht/~whynothugo/clipmon"
license=(MIT)
depends=(gcc-libs)
makedepends=(git rust)
provides=(clipmon)
conflicts=(clipmon)
source=('clipmon::git+https://git.sr.ht/~whynothugo/clipmon')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/clipmon"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/clipmon"
cargo build --release
}
package() {
cd "$srcdir/clipmon"
make DESTDIR="$pkgdir/" install
install -m 644 -D LICENCE $pkgdir/usr/share/licenses/clipmon-git/LICENSE
}
|