Created
August 26, 2024 01:43
-
-
Save lidgnulinux/f407945dbef38edfe96704c2d3922924 to your computer and use it in GitHub Desktop.
Example of package recipe for dragora distro.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Build recipe for slurp. | |
set -e | |
program=slurp | |
version=1.5.0 | |
release=0 | |
pkgcategory=x-apps | |
tarname=${program}-${version}.tar.gz | |
fetch=https://github.com/emersion/slurp/archive/v1.5.0/$tarname | |
description="Interaction screen selection on Wayland compositors." | |
homepage=https://wayland.emersion.fr/slurp/ | |
license="MIT" | |
build() | |
{ | |
unpack "${tardir}/$tarname" | |
cd "$srcdir" | |
# Set sane permissions | |
chmod -R u+w,go-w,a+rX-s . | |
meson setup -Dman-pages=disabled --prefix=/usr . output | |
meson compile -C output | |
DESTDIR="$destdir" meson install --no-rebuild -C output | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment