1
0
dwelling-radio/build/archlinux/PKGBUILD

26 lines
593 B
Bash
Raw Normal View History

2022-03-08 01:17:24 +04:00
# Maintainer: Alexander "Arav" Andreev <me@arav.top>
pkgname=dwelling-radio
pkgver=1.0.0
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')
source=('git+https://git.arav.top/Arav/dwelling-radio.git')
md5sums=('SKIP')
makedepends=('go')
backup=('etc/dwelling/radio.yaml')
build() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/"
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
}
post_install() {
chown dwradio:root /var/log/dwelling-radio
}