From ec788309ad12e9466a2e8da60ae17d93de6316b0 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Wed, 9 Mar 2022 23:11:32 +0400 Subject: [PATCH] PKGBUILD done right. --- build/archlinux/PKGBUILD | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/build/archlinux/PKGBUILD b/build/archlinux/PKGBUILD index 0c6882f..c416345 100644 --- a/build/archlinux/PKGBUILD +++ b/build/archlinux/PKGBUILD @@ -1,15 +1,23 @@ # Maintainer: Alexander "Arav" Andreev -pkgname=dwelling-radio +pkgname=dwelling-radio-git 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') +groups=() +depends=() +makedepends=('git', 'go') +provides=("$pkgname") +conflicts=("$pkgname") +replaces=() backup=('etc/dwelling/radio.yaml') +options=() +install= +source=('git+https://git.arav.top/Arav/dwelling-radio.git') +noextract=() +md5sums=('SKIP') build() { cd "$srcdir/$pkgname" @@ -19,8 +27,4 @@ build() { package() { cd "$srcdir/$pkgname" make DESTDIR="$pkgdir/" install -} - -post_install() { - chown dwradio:dwradio /var/log/dwelling-radio } \ No newline at end of file