summaryrefslogtreecommitdiff
path: root/appstream/Pkgfile
blob: bd05dafcdb0075a9c3f56c69ef00fa5f7c828531 (plain)
    1 # Description: a cross-distribution effort for enhancing the way we interact with the software repositories provided by (Linux) distributions by standardizing software component metadata
    2 # URL: https://www.freedesktop.org/wiki/Distributions/AppStream/
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: docbook-xsl librsvg libsoup libxmlb libyaml vala
    5 # Optional: qt5
    6 
    7 name=appstream
    8 version=0.15.5
    9 release=1
   10 source=(https://www.freedesktop.org/software/appstream/releases/AppStream-$version.tar.xz)
   11 
   12 build() {
   13   prt-get isinst qt5 && PKGMK_APPSTREAM+=' -D qt=true'
   14 
   15   meson setup AppStream-$version build $PKGMK_APPSTREAM \
   16     --prefix=/usr \
   17     --libexecdir=lib/$name \
   18     --buildtype=plain \
   19     --wrap-mode nodownload \
   20     -D b_lto=true \
   21     -D b_pie=true \
   22     -D vapi=true \
   23     -D compose=true \
   24     -D docs=false \
   25     -D apidocs=false \
   26     -D install-docs=false
   27 
   28   meson compile -C build
   29   DESTDIR=$PKG meson install -C build
   30 
   31   rm -r $PKG/usr/share/{locale,installed-tests}
   32 }

Generated by cgit