blob: 6a879ea36cded7d895241eb7978eeab6a252c0d9 (
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
37
38
39
40
|
# Maintainer: Christoph Rissner <resi@rissner.net>
pkgbase=1px
pkgname=${pkgbase}-git
pkgver=r15.5ea28b0fdc14
pkgrel=1
pkgdesc="Useful small-space widgets for my X11 desktop"
arch=('i686' 'x86_64')
url="https://github.com/diresi/1px"
license=('MIT')
groups=()
depends=('cairo' 'libxfixes' 'libx11')
makedepends=('git' 'meson' 'gcc')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=
gitname=master
source=('git+https://github.com/diresi/1px.git')
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
(cd bat && \
meson builddir && \
meson compile -C builddir)
}
package() {
cd "$srcdir/${pkgname%-git}"
install -s -p bat/builddir/1pxbat -D "$pkgdir"/usr/bin/1pxbat
}
|