blob: ff31b94563981d292f600b27c3e53d824836a8ad (
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
|
pkgname=j4-dmenu-desktop-git
pkgver=2.11.r9.gb4ce0c7
pkgrel=1
pkgdesc="A rewrite of i3-dmenu-desktop, which is much faster"
url="https://github.com/enkore/j4-dmenu-desktop"
arch=('i686' 'x86_64')
license=('GPL3')
depends=('dmenu')
makedepends=('git' 'cmake')
provides=('j4-dmenu-desktop')
conflicts=('j4-dmenu-desktop')
source=('git+https://github.com/enkore/j4-dmenu-desktop')
md5sums=('SKIP')
pkgver() {
cd j4-dmenu-desktop
git describe | sed -E 's/^r//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd j4-dmenu-desktop
cmake -DCMAKE_INSTALL_PREFIX=/usr -DNO_TESTS=1 .
make
}
package() {
cd j4-dmenu-desktop
make DESTDIR="$pkgdir" install
}
|