summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fc0523186b1a2004aa3005b4abb8eeb6596a2dab (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
# Maintainer: Wilsson Martee <wilssonm@gmail.com>

pkgname=lemonbar
pkgver=1.5
pkgrel=1
pkgdesc="A featherweight, lemon-scented, bar based on xcb."
arch=('i686' 'x86_64')
url="https://github.com/LemonBoy/bar"
license=('MIT')
depends=('libxcb')
makedepends=('pod2man')
provides=('lemonbar')
conflicts=('lemonbar')
source=("${url}/archive/v${pkgver}.tar.gz")
sha256sums=('bc8defe0ce6e4c1b16fd6ba3080a08e4502d6cf9d09440186044eae6b2d7460d')

build() {
  cd "bar-${pkgver}"
  make
}

package() {
  cd "bar-${pkgver}"
  make PREFIX=/usr DESTDIR="$pkgdir" install
  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}