smlinux/base/desktop-file-utils/desktop-file-utils.SMBuild
2022-01-28 23:06:05 +05:30

34 lines
895 B
Text
Executable file

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"
build() {
mkandenterbuilddir
rm -rf $APP-$VERSION
tar xf $SRCDIR/$APP-$VERSION.tar.?z*
cd $APP-$VERSION
fixbuilddirpermissions
# Thank you slackware
patch -p1 < $SRCDIR/desktop-file-utils.quiet.warnings.diff
./configure \
--prefix="" \
--sysconfdir=/etc
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
"