diff options
author | Ferdinand Bachmann | 2021-11-13 23:11:53 +0100 |
---|---|---|
committer | Ferdinand Bachmann | 2021-11-13 23:11:53 +0100 |
commit | 2d5ddfc0a05960d7649264ad3a56c7e7e268c27a (patch) | |
tree | c7cdb22d7f74884742f4661c6be059a8a60381a6 | |
parent | 8cf730bc8c668f563f9e00eaa457d04826da59be (diff) | |
download | aur-2d5ddfc0a05960d7649264ad3a56c7e7e268c27a.tar.gz |
create release version of the PKGBUILD
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 13 insertions, 35 deletions
@@ -1,20 +1,15 @@ -pkgbase = wl-mirror-git - pkgdesc = a simple Wayland output mirror client (git version) - pkgver = 0.3.0.r0.g693b56a +pkgbase = wl-mirror + pkgdesc = a simple Wayland output mirror client + pkgver = 0.3.1 pkgrel = 1 url = https://github.com/Ferdi265/wl-mirror arch = i686 arch = x86_64 license = GPL3 - makedepends = git makedepends = cmake depends = libglvnd depends = wayland - source = git+https://github.com/Ferdi265/wl-mirror - source = git+https://gitlab.freedesktop.org/wayland/wayland-protocols - source = git+https://gitlab.freedesktop.org/wlroots/wlr-protocols - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP + source = https://github.com/Ferdi265/wl-mirror/releases/download/v0.3.1/wl-mirror-0.3.1.tar.gz + sha256sums = 6817ededadd4f135c3f5806cc477d57dc48a117405ebcd780d4d08a775f92228 -pkgname = wl-mirror-git +pkgname = wl-mirror @@ -1,36 +1,19 @@ # Maintainer: Ferdinand B <theferdi265@gmail.com> -pkgname=wl-mirror-git -pkgver=0.3.0.r0.g693b56a +pkgname=wl-mirror +pkgver=0.3.1 pkgrel=1 -pkgdesc="a simple Wayland output mirror client (git version)" +pkgdesc="a simple Wayland output mirror client" url="https://github.com/Ferdi265/wl-mirror" arch=('i686' 'x86_64') license=('GPL3') depends=('libglvnd' 'wayland') -makedepends=('git' 'cmake') -source=( - "git+https://github.com/Ferdi265/wl-mirror" - "git+https://gitlab.freedesktop.org/wayland/wayland-protocols" - "git+https://gitlab.freedesktop.org/wlroots/wlr-protocols" -) -sha256sums=('SKIP' 'SKIP' 'SKIP') - -pkgver() { - cd "$srcdir/wl-mirror" - git describe --long --tags | sed -r 's/^v//g;s/([^-]*-g)/r\1/;s/-/./g' -} - -prepare() { - cd "$srcdir/wl-mirror" - git submodule init - git config submodule.proto/wayland-protocols.url "$srcdir/wayland-protocols" - git config submodule.proto/wlr-protocols.url "$srcdir/wlr-protocols" - git submodule update -} +makedepends=('cmake') +source=("https://github.com/Ferdi265/wl-mirror/releases/download/v$pkgver/wl-mirror-$pkgver.tar.gz") +sha256sums=('6817ededadd4f135c3f5806cc477d57dc48a117405ebcd780d4d08a775f92228') build() { - cmake -B build -S "$srcdir/wl-mirror" -DCMAKE_INSTALL_PREFIX=/usr + cmake -B build -S "$srcdir/wl-mirror-$pkgver" -DCMAKE_INSTALL_PREFIX=/usr make -C build } |