1
0

Made PKGBUILD the right way.

This commit is contained in:
Alexander Andreev 2022-03-20 18:20:46 +04:00
parent 4131f7b77e
commit b2aec04023
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

View File

@ -1,15 +1,23 @@
# Maintainer: Alexander "Arav" Andreev <me@arav.top> # Maintainer: Alexander "Arav" Andreev <me@arav.top>
pkgname=dwelling-upload pkgname=dwelling-upload-git
pkgver=1.0.0 pkgver=1.0.0
pkgrel=1 pkgrel=1
pkgdesc="Arav's Dwelling / Upload" pkgdesc="Arav's Dwelling / Upload"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://git.arav.top/Arav/dwelling-upload" url="https://git.arav.top/Arav/dwelling-upload"
license=('MIT') license=('MIT')
source=('git+https://git.arav.top/Arav/dwelling-upload.git') groups=()
md5sums=('SKIP') depends=()
makedepends=('go') makedepends=('git' 'go')
provides=('dwelling-upload')
conflicts=('dwelling-upload')
replaces=()
backup=('etc/dwelling/upload.yaml') backup=('etc/dwelling/upload.yaml')
options=()
install=
source=('dwelling-upload-git::git+https://git.arav.top/Arav/dwelling-upload.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 dwupload:dwupload /var/log/dwelling-upload
}