1
0
dwelling-radio/build/archlinux/PKGBUILD

34 lines
797 B
Bash
Raw Permalink Normal View History

2022-03-08 01:17:24 +04:00
# Maintainer: Alexander "Arav" Andreev <me@arav.top>
pkgname=dwelling-radio
2023-02-19 20:21:39 +04:00
pkgver=23.7.0
2022-03-08 01:17:24 +04:00
pkgrel=1
pkgdesc="Arav's dwelling / Radio"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://git.arav.top/Arav/dwelling-radio"
license=('MIT')
2022-03-09 23:11:32 +04:00
groups=()
depends=()
makedepends=('go')
2022-03-30 18:50:12 +04:00
provides=('dwelling-radio')
conflicts=('dwelling-radio')
2022-03-09 23:11:32 +04:00
replaces=()
backup=('etc/dwelling/radio.yaml' 'etc/dwelling/radio.vars.liq')
2022-03-09 23:11:32 +04:00
options=()
install=
2023-02-19 20:21:39 +04:00
source=('https://git.arav.top/Arav/dwelling-radio/archive/23.7.0.tar.gz')
2022-03-09 23:11:32 +04:00
noextract=()
2022-03-08 01:17:24 +04:00
md5sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
if [ ! -f "$(go env GOPATH)/bin/jade" ]; then
make DESTDIR="$pkgdir/" install-jade
fi
2022-03-08 01:17:24 +04:00
make DESTDIR="$pkgdir/"
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
2022-03-30 18:50:12 +04:00
}