SHARE
TWEET

Untitled

a guest Feb 14th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=wcm-git
  2. pkgver=r89.f481ea3
  3. pkgrel=1
  4. pkgdesc="Wayfire config manager"
  5. arch=('x86_64')
  6. url="https://github.com/WayfireWM/wcm"
  7. license=('MIT')
  8. depends=('wf-config' 'wayfire')
  9. makedepends=('git' 'meson' 'ninja' 'wayland-protocols' )
  10. provides=("${pkgname%-git}")
  11. conflicts=("${pkgname%-git}")
  12. replaces=()
  13. options=()
  14. source=("git+${url}")
  15. sha256sums=('SKIP')
  16.  
  17. pkgver() {
  18.     cd "$srcdir/wcm"
  19.     # Git, no tags available
  20.     printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  21.  
  22. }
  23.  
  24. build() {
  25.     cd "$srcdir/wcm"
  26.     arch-meson build
  27.     ninja -C build
  28. }
  29.  
  30. package() {
  31.     cd "$srcdir/wcm"
  32.     DESTDIR="$pkgdir/" ninja -C build install
  33. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top