summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 04e0e1207b0c3de47d4ced98c9605eb5cbdf14aa (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
# Maintainer: Peter Kaplan <peter.kaplan@posteo.de>
pkgname=stacktile
pkgver=r30.95a061e
pkgrel=1
pkgdesc="Layout generator for the river Wayland compositor"
arch=('x86_64')
url="https://sr.ht/~leon_plickat/stacktile/"
license=('GPL3')
makedepends=('git')
options=('!buildflags')
provides=("stacktile")
source=("git+https://git.sr.ht/~leon_plickat/stacktile")
sha256sums=('SKIP')

pkgver() {
    cd "$pkgname"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "$pkgname"
    make
}

package() {
    cd "$pkgname"
    install -Dm755 stacktile "$pkgdir/usr/bin/stacktile"
    install -Dm644 stacktile.1 "$pkgdir/usr/share/man/man1/stacktile.1"
}