PKGBUILD done right.
This commit is contained in:
parent
1e1d614301
commit
ec788309ad
@ -1,15 +1,23 @@
|
|||||||
# Maintainer: Alexander "Arav" Andreev <me@arav.top>
|
# Maintainer: Alexander "Arav" Andreev <me@arav.top>
|
||||||
pkgname=dwelling-radio
|
pkgname=dwelling-radio-git
|
||||||
pkgver=1.0.0
|
pkgver=1.0.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Arav's dwelling / Radio"
|
pkgdesc="Arav's dwelling / Radio"
|
||||||
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
||||||
url="https://git.arav.top/Arav/dwelling-radio"
|
url="https://git.arav.top/Arav/dwelling-radio"
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
source=('git+https://git.arav.top/Arav/dwelling-radio.git')
|
groups=()
|
||||||
md5sums=('SKIP')
|
depends=()
|
||||||
makedepends=('go')
|
makedepends=('git', 'go')
|
||||||
|
provides=("$pkgname")
|
||||||
|
conflicts=("$pkgname")
|
||||||
|
replaces=()
|
||||||
backup=('etc/dwelling/radio.yaml')
|
backup=('etc/dwelling/radio.yaml')
|
||||||
|
options=()
|
||||||
|
install=
|
||||||
|
source=('git+https://git.arav.top/Arav/dwelling-radio.git')
|
||||||
|
noextract=()
|
||||||
|
md5sums=('SKIP')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname"
|
cd "$srcdir/$pkgname"
|
||||||
@ -20,7 +28,3 @@ package() {
|
|||||||
cd "$srcdir/$pkgname"
|
cd "$srcdir/$pkgname"
|
||||||
make DESTDIR="$pkgdir/" install
|
make DESTDIR="$pkgdir/" install
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
|
||||||
chown dwradio:dwradio /var/log/dwelling-radio
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user