ports: xdg-utils

This commit is contained in:
Matheus
2026-05-21 23:38:11 -03:00
parent 518c1ab2bf
commit 44e606dab3
2 changed files with 28 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
name=xdg-utils
revision=1
from_source=xdg-utils
imagedeps="meson build-essential xmlto"
hostdeps="xgcc xbinutils pkgconfig"
deps="base"
configure() {
cp -rp ${source_dir}/* .
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral
}
build() {
make -j${parallelism}
}
package() {
make DESTDIR=${dest_dir} install
}
+9
View File
@@ -0,0 +1,9 @@
name=xdg-utils
version=1.2.1
source_method=tarball
tarball_url="https://gitlab.freedesktop.org/xdg/xdg-utils/-/archive/v${version}/xdg-utils-v${version}.tar.gz"
tarball_sha512="9b031d9c65247d0bbe0ce11fba10f88e68fa11e8d0fe5d1b09876edd21f59896a4d3be9a23f10afb7436446580b4d38fba99c622767eecec3951be4f5e4aad3e"
hostdeps="autoconf automake util-macros pkgconfig libtool"
prepare() {
autoreconf -fvi
}