summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--[-rwxr-xr-x]PKGBUILD33
1 files changed, 18 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1efc7b5b65c..395336bb761 100755..100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,38 @@
-# Maintainer: Leon Plickat <leonhenrik.plickat@stud.uni-goettingen.de>
+# Maintainer: Jason Nader <jason d0t nader pr0t0nmail.c0m>
pkgname=lavalauncher-git
-pkgver=1.2
-pkgrel=2
+pkgver=20200410.24d7050
+pkgrel=1
pkgdesc='A simple launcher panel for Wayland'
arch=(x86_64)
url='https://git.sr.ht/~leon_plickat/lavalauncher'
license=(GPL3)
-depends=(cairo wayland wayland-protocols scdoc)
-makedepends=(git gcc make)
+depends=('cairo' 'wayland')
+makedepends=('git' 'meson' 'scdoc' 'wayland-protocols')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}")
-source=("${pkgname%-*}::git+${url}" 'Makefile.patch')
-sha256sums=('SKIP' '9015bf10858ff1743ef56d2661b14ddf929e09c3c9677be26477a41c90014655')
+source=("${pkgname%-*}::git+${url}")
+sha256sums=('SKIP')
pkgver() {
- printf "1.1"
-}
-
-prepare()
-{
cd "${pkgname%-*}"
- patch -Np1 -i ../Makefile.patch
+ git log -1 --format='%cd.%h' --date=short | tr -d -
}
build()
{
- make -C "${pkgname%-*}"
+ cd "${pkgname%-*}"
+ meson \
+ --prefix=/usr \
+ --buildtype release \
+ build
+ ninja -C build
}
package()
{
- make -C "${pkgname%-*}" PREFIX=/usr DESTDIR="$pkgdir/" install
+ cd "${pkgname%-*}"
+ DESTDIR="$pkgdir" ninja -C build install
+ install -D -m 0644 LICENSE "$pkgdir"/usr/share/licenses/"${pkgname%-*}"/LICENSE
+ install -D -m 0644 README.md "$pkgdir"/usr/share/doc/"${pkgname%-*}"/README.md
}