New package: msitools-0.103

This commit is contained in:
Piraty 2024-11-08 00:24:30 +01:00
parent 6eb0994394
commit 30c19895c6
No known key found for this signature in database
GPG Key ID: 82F2CC796BD07077
3 changed files with 43 additions and 0 deletions

1
srcpkgs/libmsitools Symbolic link
View File

@ -0,0 +1 @@
msitools

1
srcpkgs/msitools-devel Symbolic link
View File

@ -0,0 +1 @@
msitools

41
srcpkgs/msitools/template Normal file
View File

@ -0,0 +1,41 @@
# Template file for 'msitools'
pkgname=msitools
version=0.103
revision=1
build_style=meson
build_helper=gir
hostmakedepends="gettext glib-devel pkg-config bison vala"
makedepends="glib-devel libgsf-devel gcab-devel"
depends="bash perl"
short_desc="Inspect and build Windows Installer (.MSI) files"
maintainer="Piraty <mail@piraty.dev>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/msitools"
changelog="https://gitlab.gnome.org/GNOME/msitools/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
checksum=d17622eebbf37fa4c09b59be0bc8db08b26be300a6731c74da1ebce262bce839
post_extract() {
# perl is runtime depedency of msidiff
vsed -i meson.build -e '/perl = find_program/d'
}
libmsitools_package() {
short_desc+=" - runtime library"
license="LGPL-2.1-or-later"
pkg_install() {
vmove usr/lib/*.so.*
}
}
msitools-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
vmove usr/share/vala
}
}