summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8d5a088869f2ca5143c549480e24787edf8b3339 (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
# Maintainer: nullgemm <nullgemm@mailbox.org>
pkgname=excalibar-git
pkgver=0.0.1
pkgrel=1
pkgdesc="sharp and shiny taskbar"
arch=('i686' 'x86_64')
url="https://github.com/nullgemm/excalibar"
license=('custom:WTFPL')
makedepends=('git')
depends=('libexcalibar-git' 'ttf-material-design-icons' 'libxcb' 'cairo' 'pango' 'libmpdclient')
source=("git+https://github.com/nullgemm/excalibar.git"
		"git+https://github.com/benhoyt/inih.git")
md5sums=('SKIP' 'SKIP')

prepare() {
	cd excalibar
	git submodule init
	git config submodule.inih.url $srcdir/excalibar/submodules/inih
	git submodule update
}

build() {
	cd excalibar/bar
	make
	cd ../plugins
	make
}

package() {
	cd excalibar/bar
	make DESTDIR="$pkgdir" install
	make cpconfig
	install -D -m644 ../license.md "${pkgdir}/usr/share/licenses/${pkgname}/WTFPL"
	cd ../plugins
	make install
}