summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 7 insertions, 6 deletions
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
}