restructure #3
30
gui-apps/wl-clipboard-2.2.1.PKGBUILD
Normal file
30
gui-apps/wl-clipboard-2.2.1.PKGBUILD
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
pkgname=wl-clipboard
|
||||||
|
pkgver=2.2.1
|
||||||
|
pkgdesc="Wayland clipboard utilities"
|
||||||
|
homepage="https://github.com/bugaevc/wl-clipboard"
|
||||||
|
license=("GPL-3")
|
||||||
|
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||||
|
urls=("https://github.com/bugaevc/${pkgname}/archive/v${pkgver}.tar.gz")
|
||||||
|
sha512sums=("fdda519df42e1dbfb112ab7d8195a0f36cf5cf18fffffa8f32ac4688a08009e206b96a169da641f909c9acf244eb6a5201811842b4d3111e1ccdb1ce8fb4db43")
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_build() {
|
||||||
|
local meson_args=(
|
||||||
|
--prefix=/usr
|
||||||
|
--buildtype=release
|
||||||
|
--wrap-mode=nodownload
|
||||||
|
-D python.bytecompile=1
|
||||||
|
-D fishcompletiondir="/usr/share/fish/vendor_completions.d"
|
||||||
|
)
|
||||||
|
meson setup build "${meson_args[@]}"
|
||||||
|
meson compile -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
meson install -C build --destdir "$pkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:ft=sh syn=sh et sw=2:
|
||||||
Reference in New Issue
Block a user