# Maintainer: Quinn Casey 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')