blob: f3128b0cc2da303f1bf4d2df0685f97781ae0e9b (
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
|
# Maintainer: OverShifted <prowidgs@gmail.com>
_pkgname=wlipman
pkgname=$_pkgname-git
pkgver=r9
pkgrel=1
pkgdesc="A simple clipboard manager for wayland."
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://github.com/OverShifted/wlipman"
license=('GPL3')
depends=('gcc-libs' 'rofi')
makedepends=('git' 'cargo')
# conflicts=('wlipman')
provides=('wlipman')
source=("git+https://github.com/OverShifted/$_pkgname.git")
sha384sums=('SKIP')
pkgver() {
cd "$_pkgname"
echo r$(git rev-list --count HEAD)
}
build() {
cd "$_pkgname"
cargo build --release --target-dir target
}
package() {
install -Dm755 "$_pkgname/target/release/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
}
|