spmenu/PKGBUILD
speedie dd44bc56ab Add clipboard support for Wayland
This commit adds clipboard support for Wayland. The implementation is
quite ugly though, as it requires the use of an external program and
shell (wl-clipboard). It doesn't add a hard dependency though, as if
the user doesn't want pasting the dependency is not required.
2023-07-22 04:04:23 +02:00

65 lines
1 KiB
Bash

# Maintainer: speedie <speedie@speedie.site>
pkgname=spmenu
pkgver=VERSION
pkgrel=1
pkgdesc="Fancy dynamic menu for X11 and Wayland, compatible with dmenu!"
url="https://spmenu.speedie.site"
arch=(i686 x86_64)
license=(MIT)
depends=(
bash
libxinerama
cairo
pango
wayland
wayland-protocols
libxkbcommon
libx11
imlib2
fribidi
libconfig
)
makedepends=(
git
meson
ninja
)
optdepends=(
'wl-clipboard: Clipboard support on Wayland'
)
provides=($pkgname)
conflicts=($pkgname)
source=(
"$pkgname-$pkgver.tar.gz"
"$pkgname-$pkgver.tar.gz.sig"
#"https://ls.speedie.site/releases/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
#"https://ls.speedie.site/releases/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz.sig"
)
md5sums=(
MD5SUM
'SKIP'
)
sha256sums=(
SHA256SUM
'SKIP'
)
build(){
cd $pkgname-$pkgver
mkdir -p build/
meson setup --reconfigure --prefix=${pkgdir}/usr build
ninja -C build
}
package() {
cd "$pkgname-$pkgver"
meson install -C build
}