summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristopher Snowhill2020-08-27 17:03:49 -0700
committerChristopher Snowhill2020-08-27 17:03:49 -0700
commit73fd54fdc4c34e461ee0a27622a03f1fd0897448 (patch)
tree236396d0b3475698e1208b6cb7aa4a8e577e5ec3 /PKGBUILD
parente2469a2ae17693450791d2c8b9c9453cd842fe54 (diff)
downloadaur-73fd54fdc4c34e461ee0a27622a03f1fd0897448.tar.gz
Build from source tarball instead of requiring Git
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
}