smlinux/gtk/libgexiv2/libgexiv2.SMBuild

33 lines
798 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libgexiv2
version=0.14.0
build=1sml
homepage="https://wiki.gnome.org/Projects/gexiv2"
download="https://slackware.uk/slackware/slackware-15.0/source/l/gexiv2/gexiv2-$version.tar.xz"
desc="GObject wrapper around Exiv2 library"
requires="exiv2 glib gobject-introspection vala"
prepbuilddir() {
mkandenterbuilddir
rm -rf gexiv2-$version
tar xf $srcdir/gexiv2-$version.tar.?z*
cd gexiv2-$version
fixbuilddirpermissions
}
build() {
mkdir -p smbuild && cd smbuild
meson .. \
--prefix=/
ninja
DESTDIR="$pkg" ninja install
cp ../COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
d745ae2d8ddcf0c8a2a7980eaa489f9b520af54242c5e4ddded9c3ae4a579c824c8cb659bd7e985ffa09f9fe37bdf73d6d9181d456711e0953b73023eb0f9f50 gexiv2-0.14.0.tar.xz
"