ports-mgmt/pkg-appstream: + libpkg plugin for AppStream metadata handling.

Sponsored by:	Serenity Cybersecurity, LLC
This commit is contained in:
Gleb Popov 2023-06-04 15:16:42 +03:00
parent 50d08a1285
commit 0b552432e3
4 changed files with 33 additions and 0 deletions

View file

@ -25,6 +25,7 @@
SUBDIR += parfetch-overlay
SUBDIR += pchecker
SUBDIR += pkg
SUBDIR += pkg-appstream
SUBDIR += pkg-devel
SUBDIR += pkg-graph
SUBDIR += pkg-provides

View file

@ -0,0 +1,27 @@
PORTNAME= pkg-appstream
DISTVERSIONPREFIX= v
PORTVERSION= 1.0.0
CATEGORIES= ports-mgmt
MAINTAINER= arrowd@FreeBSD.org
COMMENT= Pkg plugin for downloading AppStream metadata
WWW= https://github.com/freebsd/pkg-appstream
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/include/pkg.h:ports-mgmt/pkg
USES= localbase
USE_GITHUB= yes
GH_ACCOUNT= freebsd
MAKE_ENV= LIBOWN=nobody LIBGRP=nobody
PLIST_FILES= lib/pkg/appstream.so
pre-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/pkg
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1691477749
SHA256 (freebsd-pkg-appstream-v1.0.0_GH0.tar.gz) = b3e8b0dd9d8fd4deefa6a91d6e76d81c5483292ee05fabb4311eaca6a068e09e
SIZE (freebsd-pkg-appstream-v1.0.0_GH0.tar.gz) = 2404

View file

@ -0,0 +1,2 @@
This libpkg plugin is supposed to fill /var/lib/swcatalog/xml/ directory with
up-to-date AppStream metadata from pkg repositories that support that.