New package: msitools-0.103
This commit is contained in:
parent
6eb0994394
commit
30c19895c6
|
@ -0,0 +1 @@
|
|||
msitools
|
|
@ -0,0 +1 @@
|
|||
msitools
|
|
@ -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
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue