blob: b90a1729e55e10f4f2a9cf0d5ff6754a932b6a83 (
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
|
pkgname=swob-git
pkgver=0
pkgrel=1
pkgdesc='Volume and brightness controls for wayland, using wob'
arch=(any) # limited only by dependencies
depends=(sh coreutils sed wob alsa-utils brightnessctl)
url='https://github.com/el-remph/swob'
license=(FSFULLRWD)
provides=(swob)
source=("git+$url")
b2sums=(SKIP)
pkgver() (
cd swob
set -o pipefail
git describe --long --abbrev=7 --tags 2>/dev/null |
sed -e 's/^v//' -e 's/[^-]*-g/r&/' -e y/-/./ ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
)
package() {
cd swob
DESTDIR=$pkgdir ./install.sh
}
|