aboutsummaryrefslogtreecommitdiffstats
path: root/testing/j4-dmenu-desktop/APKBUILD
blob: a0f2788780fad5a4b3864972020e781a9205b563 (plain) (blame)
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
# Maintainer: Bradley Saulteaux <bradsoto@gmail.com>
pkgname=j4-dmenu-desktop
pkgver=2.17
pkgrel=0
pkgdesc="A fast desktop menu"
options="!check" # Requires a desktop-style system layout not present in builders
url="https://github.com/enkore/$pkgname"
arch="all"
license="GPL-3.0-only"
depends="dmenu"
makedepends="cmake git"
source="$pkgname-$pkgver.tar.gz::$url/archive/r$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-r$pkgver

build() {
	cmake -DCMAKE_INSTALL_PREFIX=/usr .
	make
}

check() {
	# Test depends on /usr/share/applications existing on the system
	make test
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="7a41bb60a6b3afa7bf6229f08674d5f31e0152d0788a17edc210986d1b1f0d4fad13ffaa13c58ed7a0c5d2e67f8f95bb2a0f6556aeb0f2cc24c7d885b346325e  j4-dmenu-desktop-2.17.tar.gz"