From b2aec040235d8022439d413f593fbaa01ec4f2eb Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 20 Mar 2022 18:20:46 +0400 Subject: [PATCH] Made PKGBUILD the right way. --- build/archlinux/PKGBUILD | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/build/archlinux/PKGBUILD b/build/archlinux/PKGBUILD index 128ba5b..108abbe 100644 --- a/build/archlinux/PKGBUILD +++ b/build/archlinux/PKGBUILD @@ -1,15 +1,23 @@ # Maintainer: Alexander "Arav" Andreev -pkgname=dwelling-upload +pkgname=dwelling-upload-git pkgver=1.0.0 pkgrel=1 pkgdesc="Arav's Dwelling / Upload" arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') url="https://git.arav.top/Arav/dwelling-upload" license=('MIT') -source=('git+https://git.arav.top/Arav/dwelling-upload.git') -md5sums=('SKIP') -makedepends=('go') +groups=() +depends=() +makedepends=('git' 'go') +provides=('dwelling-upload') +conflicts=('dwelling-upload') +replaces=() backup=('etc/dwelling/upload.yaml') +options=() +install= +source=('dwelling-upload-git::git+https://git.arav.top/Arav/dwelling-upload.git') +noextract=() +md5sums=('SKIP') build() { cd "$srcdir/$pkgname" @@ -19,8 +27,4 @@ build() { package() { cd "$srcdir/$pkgname" make DESTDIR="$pkgdir/" install -} - -post_install() { - chown dwupload:dwupload /var/log/dwelling-upload } \ No newline at end of file