smlinux/base/desktop-file-utils/desktop-file-utils.SMBuild

36 lines
931 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=desktop-file-utils
version=0.24
build=1sml
homepage="https://www.freedesktop.org/wiki/Software/desktop-file-utils/"
desc="Utilities for manipulating desktop files"
requires="glib pcre"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
# Thank you slackware
applypatch $srcdir/desktop-file-utils.quiet.warnings.diff
}
build() {
./configure \
--prefix=""
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
cd662fe5d77b5feb6c1063e69a9534b4bba23a32ed5d6ff8685b71d6f26114e4374bae184407c5e407cbaaf4e87812f4c9e71dff76dbe774c23bff6ebf7983f3 desktop-file-utils-0.24.tar.lz
f8371a36c4cda77797e6f1b4463dcf1c88d9200b65aa651b37cf902db9f266b7201da370014b181f9369913572aef816bdb9184ce88172a1fd45fc99886cca55 desktop-file-utils.quiet.warnings.diff
"