blob: 95aef77d99c782439a29dadd60adcc946c1096f6 (
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
33
34
35
36
37
38
|
# Maintainer: Quinn Casey <quinn@quinncasey.com>
pkgname=boop-gtk
pkgver=1.7.0
pkgrel=1
pkgdesc="Port of @IvanMathy's Boop to GTK, a scriptable scratchpad for developers."
arch=('any')
pkgdir=Boop-GTK
url=https://github.com/zoeyfyi/Boop-GTK
source=(Boop-GTK::git+https://github.com/zoeyfyi/Boop-GTK#branch=release)
license=('MIT')
depends=(
gtksourceview3
gtk3
)
makedepends=(
'cargo'
git
)
prepare() {
cd Boop-GTK
git submodule update --init --recursive
}
build() {
cd Boop-GTK
cargo build --release --locked --all-features --target-dir=target
}
package() {
install -Dm 755 "Boop-GTK/target/release/${pkgname}" -t "${pkgdir}/usr/bin"
install -Dm 644 "Boop-GTK/data/fyi.zoey.Boop-GTK.svg" -t "${pkgdir}/usr/share/pixmaps"
install -Dm 644 "Boop-GTK/data/fyi.zoey.Boop-GTK.desktop" -t "${pkgdir}/usr/share/applications"
install -Dm644 Boop-GTK/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 Boop-GTK/README.md "$pkgdir/usr/share/doc/${pkgname}/README.md"
}
md5sums=('SKIP')
|