blob: fcb8452ad1c3bb282e555be40acccc0fd8602957 (
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
|
# Maintainer: Clément Dommerc <clement.dommerc@gmail.com>
pkgname='qlstatus'
pkgver=1.1.9
pkgrel=1
pkgdesc='Light and modular status bar for tiling window managers'
arch=('x86_64')
url='https://github.com/qlem/qlstatus'
license=('MIT')
depends=('glibc' 'libpulse' 'libnl' 'libnotify')
makedepends=('make' 'cmake' 'pkgconf' 'grep' 'sed')
source=("$pkgname-$pkgver.tar.gz::https://github.com/qlem/$pkgname/archive/v$pkgver.tar.gz")
md5sums=('9f34e6e24c1736ec7b98a0dddc94ad48')
build() {
cd "$srcdir/$pkgname-$pkgver"
mkdir -p build
cmake -B build/ .
cmake --build build/
./manual.sh > qlstatus.1
}
package() {
mkdir -p "$pkgdir/etc"
mkdir -p "$pkgdir/usr/bin"
mkdir -p "$pkgdir/usr/share/man/man1"
cd "$srcdir/$pkgname-$pkgver"
install -v ./build/qlstatus "$pkgdir/usr/bin"
install -v --mode=644 qlstatus.conf "$pkgdir/etc"
install -v --mode=644 qlstatus.1 "$pkgdir/usr/share/man/man1"
}
|