summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Zheleztsov2019-05-14 15:21:45 +0300
committerDenis Zheleztsov2019-05-14 15:23:43 +0300
commit6c62b1efec8080af13b6d2c563ff43e7f70b10dc (patch)
tree497bf197aeda8c062762cacde3f6b88f2d158bcc
downloadaur-6c62b1efec8080af13b6d2c563ff43e7f70b10dc.tar.gz
First build
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD39
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3a50a29f200
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = wlr-randr
+ pkgdesc = Utility to manage outputs of a Wayland compositor. You need a support wlr-output-management-unstable-v1 in the compositor.
+ pkgver = r13.c4066aa
+ pkgrel = 1
+ url = https://github.com/emersion/wlr-randr
+ arch = x86_64
+ license = MIT
+ makedepends = meson
+ makedepends = ninja
+ provides = wlr-randr
+ source = wlr::git+https://github.com/emersion/wlr-randr.git
+ md5sums = SKIP
+
+pkgname = wlr-randr
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c0c5f5e0c57
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# -*- mode: pkgbuild; -*-
+# Maintainer: Denis Zheleztsov <d_zheleztsov@wargaming.net>
+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."
+arch=('x86_64')
+url="https://github.com/emersion/wlr-randr"
+license=('MIT')
+makedepends=("meson" "ninja")
+checkdepends=()
+optdepends=()
+provides=("wlr-randr")
+source=("${pkgname%-*}::git+https://github.com/emersion/wlr-randr.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd "$pkgname"
+ meson --prefix /usr "$srcdir/build"
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+
+ ninja -C "$srcdir/build"
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+
+ DESTDIR="$pkgdir" ninja -C "$srcdir/build" install
+}
+
+# vim:set ts=2 sw=2 et: