diff options
author | daurnimator | 2020-11-05 00:25:01 +1100 |
---|---|---|
committer | daurnimator | 2020-11-05 00:25:01 +1100 |
commit | 96bac818b1d8a53308741ad4651531bd2430a5bf (patch) | |
tree | d2e347d067ab35621dd95310a474aae1f049e908 | |
parent | a7353b6a2ec1aab4e021e6c6f9820f780a836732 (diff) | |
download | aur-96bac818b1d8a53308741ad4651531bd2430a5bf.tar.gz |
Take over package and clean up
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 32 insertions, 19 deletions
@@ -1,17 +1,20 @@ pkgbase = river-git pkgdesc = A dynamic tiling wayland compositor. - pkgver = r264.59d0fb7 + pkgver = r476.2b24e55 pkgrel = 1 url = https://github.com/ifreund/river - arch = any + arch = x86_64 license = GPL3 makedepends = git + makedepends = scdoc makedepends = wayland-protocols - depends = zig + makedepends = zig depends = wlroots provides = river conflicts = river - source = river::git+https://github.com/ifreund/river.git + source = git+https://github.com/ifreund/river.git + source = git+https://github.com/ifreund/zig-wayland.git + md5sums = SKIP md5sums = SKIP pkgname = river-git @@ -1,29 +1,39 @@ -_pkgname='river' -pkgname="${_pkgname}-git" -pkgver=r264.59d0fb7 +# Maintainer: Daurnimator <daurnimator@archlinux.org> + +pkgname="river-git" +pkgver=r476.2b24e55 pkgrel=1 pkgdesc='A dynamic tiling wayland compositor.' -arch=('any') -url="https://github.com/ifreund/${_pkgname}" +arch=('x86_64') +url='https://github.com/ifreund/river' license=('GPL3') -depends=('zig' 'wlroots') -makedepends=('git' 'wayland-protocols') +depends=('wlroots') +makedepends=('git' 'scdoc' 'wayland-protocols' 'zig') provides=('river') conflicts=('river') -source=("${_pkgname}::git+${url}.git") -md5sums=(SKIP) +source=('git+https://github.com/ifreund/river.git' + 'git+https://github.com/ifreund/zig-wayland.git') +md5sums=('SKIP' + 'SKIP') pkgver() { - cd "${_pkgname}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd river + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + cd river + git submodule init + git config submodule.deps/zig-wayland.url "${srcdir}/zig-wayland" + git submodule update } build() { - cd "${_pkgname}" - zig build -Drelease-safe + cd river + zig build -Drelease-safe -Dxwayland } package() { - cd "${_pkgname}" - zig build -Drelease-safe --prefix "${pkgdir}/usr" install + cd river + zig build -Drelease-safe -Dxwayland --prefix "${pkgdir}/usr" install } |