summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD13
2 files changed, 12 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 61c12490fa2..76a97a7e0c8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,14 +5,16 @@ pkgbase = wlr-randr
url = https://github.com/emersion/wlr-randr
arch = x86_64
license = MIT
- makedepends = git
makedepends = meson
makedepends = ninja
makedepends = gcc
depends = wayland
provides = wlr-randr
- source = git+https://github.com/emersion/wlr-randr.git#tag=v0.1.0
- md5sums = SKIP
+ source = https://github.com/emersion/wlr-randr/releases/download/v0.1.0/wlr-randr-0.1.0.tar.gz
+ source = https://github.com/emersion/wlr-randr/releases/download/v0.1.0/wlr-randr-0.1.0.tar.gz.sig
+ validpgpkeys = 34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48
+ sha256sums = dbf2f02aa4d4f48dc9cef1edd1137a8ee68daa85f3c824a28c92376fd1591844
+ sha256sums = SKIP
pkgname = wlr-randr
diff --git a/PKGBUILD b/PKGBUILD
index 887a9e081a9..3d67e118b56 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,26 +9,27 @@ arch=('x86_64')
url="https://github.com/emersion/wlr-randr"
license=('MIT')
depends=("wayland")
-makedepends=("git" "meson" "ninja" "gcc")
+makedepends=("meson" "ninja" "gcc")
checkdepends=()
optdepends=()
provides=("wlr-randr")
-source=("git+https://github.com/emersion/wlr-randr.git#tag=v$pkgver")
-md5sums=('SKIP')
+source=("https://github.com/emersion/wlr-randr/releases/download/v$pkgver/wlr-randr-$pkgver.tar.gz"{,.sig})
+sha256sums=('dbf2f02aa4d4f48dc9cef1edd1137a8ee68daa85f3c824a28c92376fd1591844' 'SKIP')
+validpgpkeys=('34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48')
prepare() {
- cd "$pkgname"
+ cd "$pkgname-$pkgver"
meson --prefix /usr "$srcdir/build"
}
build() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/$pkgname-$pkgver"
ninja -C "$srcdir/build"
}
package() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/$pkgname-$pkgver"
DESTDIR="$pkgdir" ninja -C "$srcdir/build" install
}