blob: f9f3d0dd44bc62d84c8deef8f7655695125194a1 (
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
|
# Maintainer: Sebastien MacDougall-Landry
pkgname=gobble
pkgver=1.3
pkgrel=1
pkgdesc='Window swallowing on any WM'
url='https://github.com/EmperorPenguin18/gobble/'
source=("$pkgname-$pkgver.tar.gz::https://github.com/EmperorPenguin18/gobble/archive/refs/tags/$pkgver.tar.gz")
arch=('x86_64')
license=('GPL3')
makedepends=('cargo' 'pandoc')
depends=('libxcb')
sha256sums=('613ad939bef746d9a196ed3587011aabb372abe11c3ac0813dd440cdd3c7f4bf')
build () {
cd "$srcdir/$pkgname-$pkgver"
cargo build --release --target-dir target
pandoc gobble.1.md -s -t man -o gobble.1
}
package () {
cd "$srcdir/$pkgname-$pkgver"
install -Dm755 target/release/gobble -t "$pkgdir/usr/bin"
install -Dm644 gobble.1 "$pkgdir/usr/share/man/man1/gobble.1"
}
|