yochananmarqos

Untitled

Sep 3rd, 2020
123
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=plexydesk-git
  2. pkgver=1.0.3.2.r6.gba6313ec
  3. pkgrel=1
  4. pkgdesc="Lightweight desktop manager ideal for low resource computers."
  5. arch=('x86_64')
  6. url="https://plexydesk.org"
  7. license=('LGPL')
  8. depends=('qt5-x11extras' 'tinyxml2' 'libsoup')
  9. makedepends=('git' 'cmake')
  10. optdepends=('doxygen: build documentation'
  11.             'qt5-wayland: Wayland support')
  12. provides=("${pkgname%-git}")
  13. conflicts=("${pkgname%-git}")
  14. source=('git+https://github.com/plexydesk/plexydesk.git')
  15. sha256sums=('SKIP')
  16.  
  17. pkgver() {
  18.     cd "$srcdir/${pkgname%-git}"
  19.     git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
  20. }
  21.  
  22. build() {
  23.     cmake -B build -S "${pkgname%-git}" \
  24.         -DCMAKE_INSTALL_PREFIX=/usr \
  25.         -DCMAKE_INSTALL_LIBDIR=lib \
  26.         -DCMAKE_INSTALL_LIBEXECDIR=lib \
  27.         -Wno-dev
  28.     make -C build
  29. }
  30.  
  31. package() {
  32.     make -C build DESTDIR="$pkgdir/" install
  33. }
RAW Paste Data