blob: 051bd69c159a6b97e177289c1cffa60001a3cd0c (
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
|
# Contributor: ledti <antegist at gmail.com>
pkgname=bar-aint-recursive-git
_pkgname=bar
pkgver=213.1411d26
pkgrel=1
pkgdesc="A lightweight xcb based bar."
arch=('i686' 'x86_64')
url="https://github.com/LemonBoy/bar"
license=('MIT')
depends=('libxcb')
makedepends=('git')
provides=('bar-aint-recursive')
conflicts=('bar-aint-recursive')
source=("$_pkgname::git+https://github.com/LemonBoy/bar.git#branch=master")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
echo $(git rev-list --count master).$(git rev-parse --short master)
}
build() {
cd "$srcdir/$_pkgname"
make
}
package() {
cd "$srcdir/$_pkgname"
make PREFIX=/usr DESTDIR="$pkgdir" install
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|