26 lines
604 B
Bash
26 lines
604 B
Bash
# Maintainer: Alexander "Arav" Andreev <me@arav.top>
|
|
pkgname=dwelling-upload
|
|
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')
|
|
backup=('etc/dwelling/upload.yaml')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname"
|
|
make DESTDIR="$pkgdir/"
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname"
|
|
make DESTDIR="$pkgdir/" install
|
|
}
|
|
|
|
post_install() {
|
|
chown dwupload:dwupload /var/log/dwelling-upload
|
|
} |