Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkgname=wcm-git
- pkgver=r89.f481ea3
- pkgrel=1
- pkgdesc="Wayfire config manager"
- arch=('x86_64')
- url="https://github.com/WayfireWM/wcm"
- license=('MIT')
- depends=('wf-config' 'wayfire')
- makedepends=('git' 'meson' 'ninja' 'wayland-protocols' )
- provides=("${pkgname%-git}")
- conflicts=("${pkgname%-git}")
- replaces=()
- options=()
- source=("git+${url}")
- sha256sums=('SKIP')
- pkgver() {
- cd "$srcdir/wcm"
- # Git, no tags available
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
- }
- build() {
- cd "$srcdir/wcm"
- arch-meson build
- ninja -C build
- }
- package() {
- cd "$srcdir/wcm"
- DESTDIR="$pkgdir/" ninja -C build install
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement