summaryrefslogtreecommitdiff
path: root/girara/Pkgfile
blob: 5ea0907cbe2942fa734b0c15cf87f1253f881bfc (plain)
    1 # Description: User interface library focusing on simplicity and minimalism
    2 # URL: https://pwmt.org/projects/girara
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: gtk3 libnotify meson ninja
    5 # Optional: json-c libnotify
    6 
    7 name=girara
    8 version=0.3.8
    9 release=1
   10 source=(https://git.pwmt.org/pwmt/$name/-/archive/$version/$name-$version.tar.bz2)
   11 
   12 build() {
   13   prt-get isinst json-c && PKGMK_GIRARA+=' -D json=enabled' || PKGMK_GIRARA+=' -D json=disabled'
   14   prt-get isinst libnotify && PKGMK_GIRARA+=' -D notify=enabled' || PKGMK_GIRARA+=' -D notify=disabled'
   15 
   16   meson setup $name-$version build $PKGMK_GIRARA \
   17     --prefix=/usr \
   18     --sysconfdir=/etc \
   19     --buildtype=plain \
   20     --wrap-mode nodownload \
   21     -D b_lto=true \
   22     -D b_pie=true \
   23     -D docs=disabled \
   24     -D tests=disabled
   25   meson compile -C build
   26   DESTDIR=$PKG meson install -C build
   27 
   28   rm -rf $PKG/usr/share/locale
   29 }

Generated by cgit