summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Zheleztsov2019-05-14 15:33:34 +0300
committerDenis Zheleztsov2019-05-14 15:33:34 +0300
commitc3e80ce1da4e63fc976cf45fb228482a359b57bd (patch)
treed506454584878c6746197f29b1d801430441f301
parentae06074950d35971bca876f09f39b01836a9e75d (diff)
downloadaur-c3e80ce1da4e63fc976cf45fb228482a359b57bd.tar.gz
Fix package name
-rw-r--r--PKGBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9f8ff617fa3..5d3989dbef7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,6 @@
# -*- mode: pkgbuild; -*-
# Maintainer: Denis Zheleztsov <difrex.punk@gmail.com>
-pkgname=wlr-randr-git
-_pkgname=wlr-randr
+pkgname=wlr-randr
pkgver=r13.c4066aa
pkgrel=1
pkgdesc="Utility to manage outputs of a Wayland compositor. You need a support wlr-output-management-unstable-v1 in the compositor."
@@ -17,23 +16,23 @@ source=("${pkgname%-*}::git+https://github.com/emersion/wlr-randr.git")
md5sums=('SKIP')
pkgver() {
- cd "$_pkgname"
+ cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
- cd "$_pkgname"
+ cd "$pkgname"
meson --prefix /usr "$srcdir/build"
}
build() {
- cd "$srcdir/$_pkgname"
+ cd "$srcdir/$pkgname"
ninja -C "$srcdir/build"
}
package() {
- cd "$srcdir/$_pkgname"
+ cd "$srcdir/$pkgname"
DESTDIR="$pkgdir" ninja -C "$srcdir/build" install
}