blob: dec78d3dbbee3d03459ebb4d2b6531f661c90397 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
# Maintainer: Orestis Floros <orestisf1993@gmail.com>
# Maintainer: Dan Beste <dan.ray.beste@gmail.com>
# Contributor: Benjamin Chrétien <chretien+aur [at] lirmm [dot] fr>
# Contributor: Eric Engestrom <aur [at] engestrom [dot] ch>
# Contributor: Rasi <rasi@xssn.at>
# Contributor: Sean Pringle <sean.pringle@gmail.com>
# Contributor: SanskritFritz (gmail)
pkgname=rofi-git
pkgver=1.7.8.r1.g56fbb62b
pkgrel=1
pkgdesc='A window switcher, run dialog and dmenu replacement'
arch=('x86_64')
url='https://github.com/DaveDavenport/rofi/'
license=('MIT')
depends=(
'bash'
'cairo'
'flex'
'freetype2'
'gdk-pixbuf2'
'glib2'
'glibc'
'hicolor-icon-theme'
'libjpeg'
'librsvg'
'libx11'
'libxcb'
'libxdg-basedir'
'libxft'
'libxkbcommon'
'libxkbcommon-x11'
'pango'
'startup-notification'
'xcb-imdkit'
'xcb-util'
'xcb-util-cursor'
'xcb-util-keysyms'
'xcb-util-wm'
'xcb-util-xrm'
)
makedepends=('git' 'meson')
checkdepends=('check')
provides=("${pkgname/-git/}")
conflicts=("${pkgname/-git/}")
source=(
'git+https://github.com/DaveDavenport/rofi#branch=next'
'git+https://github.com/sardemff7/libgwater'
'git+https://github.com/sardemff7/libnkutils'
)
sha256sums=('SKIP' 'SKIP' 'SKIP')
pkgver() {
cd "${pkgname/-git/}"
git describe --long --tags |
sed 's/-/.r/;s/-/./'
}
prepare() {
cd "${pkgname/-git/}"
git submodule init
git config submodule.subprojects/libgwater.url "${srcdir}/libgwater"
git config submodule.subprojects/libnkutils.url "${srcdir}/libnkutils"
git -c protocol.file.allow=always submodule update
cd "${srcdir}"
}
build() {
arch-meson "${pkgname/-git/}" --buildtype release --prefix /usr -Db_lto=true build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "${pkgdir}"
cd "${pkgname/-git/}"
install -Dm 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname/-git/}/COPYING"
install -Dm 755 Examples/*.sh -t "${pkgdir}/usr/share/doc/${pkgname/-git/}/examples"
}
|