summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerdinand Bachmann2021-11-13 23:11:53 +0100
committerFerdinand Bachmann2021-11-13 23:11:53 +0100
commit2d5ddfc0a05960d7649264ad3a56c7e7e268c27a (patch)
treec7cdb22d7f74884742f4661c6be059a8a60381a6
parent8cf730bc8c668f563f9e00eaa457d04826da59be (diff)
downloadaur-2d5ddfc0a05960d7649264ad3a56c7e7e268c27a.tar.gz
create release version of the PKGBUILD
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD31
2 files changed, 13 insertions, 35 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 85e5573083a3..c6cc63989ba7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index e11249c73ea9..f4dcccfa2f34 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}