blob: efbc43c6fb6cdbd5f2f0810fad838c2e2dc01afa (
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: Adam Brunnmeier <adam.brunnmeier@gmail.com>
pkgname=wl-clipboard-git
pkgver=2.0.0
pkgrel=1
pkgdesc="Command-line copy/paste utilities for Wayland"
arch=('i686' 'x86_64')
url="https://github.com/bugaevc/wl-clipboard"
license=('GPL')
depends=('wayland' 'xdg-utils' 'mailcap')
makedepends=('git' 'meson' 'wayland-protocols')
provides=("${pkgname%-git}=${pkgver%+*}")
conflicts=("${pkgname%-git}")
source=("git+https://github.com/bugaevc/wl-clipboard")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --tags --abbrev=10 HEAD |
sed 's/^v//; s/-/+/; s/-/./'
}
build() {
cd "$srcdir/${pkgname%-git}"
meson --prefix=/usr build
cd build
ninja
}
package() {
cd "$srcdir/${pkgname%-git}/build"
DESTDIR=${pkgdir} ninja install
}
|