summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 52d0b7ef153b5b7c2f72d6340cc49614f9c73f0c (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
# Contributor: Nathan Isom <nathanisom27[at]gmail[dot]com>

pkgname=bevelbar-git
pkgver=24.07.r0.gf9d3380
pkgrel=1
pkgdesc='X11 status bar with beveled borders'
arch=('x86_64')
url="https://www.uninformativ.de/git/bevelbar/file/README.html"
license=('MIT')
depends=('libx11' 'libxft' 'libxrandr')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+https://www.uninformativ.de/git/bevelbar.git")
sha256sums=('SKIP')

pkgver() {
    cd "$pkgname"
    git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./g'
}

build() {
    cd "$pkgname"
    make
}

package() {
    cd "$pkgname"
    make prefix=/usr DESTDIR="$pkgdir" install
    install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}