summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 435e940ce916ef4a4e9019cd2bd73403915c9c6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Leon Plickat <leonhenrik.plickat@stud.uni-goettingen.de>

pkgname=lavalauncher-git
pkgver=1.1
pkgrel=3
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)
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}")
source=("${pkgname%-*}::git+${url}" 'Makefile.patch')
sha256sums=('SKIP' '9015bf10858ff1743ef56d2661b14ddf929e09c3c9677be26477a41c90014655')

pkgver() {
	printf "1.1"
}

prepare()
{
	cd "${pkgname%-*}"
	patch -Np1 -i ../Makefile.patch
}

build()
{
	make -C "${pkgname%-*}"
}

package()
{
	make -C "${pkgname%-*}" PREFIX=/usr DESTDIR="$pkgdir/" install
}