blob: d6094f05e89cfd57b39018c6b3554ad721c87cbb (
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
41
42
43
44
45
46
|
# Maintainer: izzqz <v@izzqz.me>
pkgname=dam-river-git
pkgver=r50.be43694
pkgrel=1
pkgdesc="Itsy-bitsy dwm-esque bar for river"
arch=('i686' 'x86_64')
url="https://codeberg.org/sewn/dam"
license=("MIT")
provides=("dam")
makedepends=(
'wayland'
'wayland-protocols'
'fcft'
'pixman'
'pkg-config'
)
optdepends=()
depends=()
conflicts=('dam')
source=("$pkgname::git+https://codeberg.org/sewn/dam.git")
sha1sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
if [ -e "$BUILDDIR/config.h" ]; then
cp "$BUILDDIR/config.h" "$srcdir"/"$pkgname"
fi
}
build() {
cd "$pkgname"
make
}
# check() {}
package() {
cd "$pkgname"
install -Dm755 "dam" "$pkgdir/usr/bin/dam"
}
|