34 lines
774 B
Bash
34 lines
774 B
Bash
# Maintainer: Alexander "Arav" Andreev <me@arav.su>
|
|
pkgname=dwelling-upload
|
|
pkgver=23.10.0
|
|
pkgrel=1
|
|
pkgdesc="Arav's Dwelling / Upload"
|
|
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
|
url="https://git.arav.su/Arav/dwelling-upload"
|
|
license=('MIT')
|
|
groups=()
|
|
depends=()
|
|
makedepends=('go')
|
|
provides=('dwelling-upload')
|
|
conflicts=('dwelling-upload')
|
|
replaces=()
|
|
backup=('etc/dwelling/upload.yaml')
|
|
options=()
|
|
install=
|
|
source=('https://git.arav.top/Arav/dwelling-upload/archive/23.10.0.tar.gz')
|
|
noextract=()
|
|
md5sums=('SKIP')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname"
|
|
if [ ! -f "$(go env GOPATH)/bin/jade" ]; then
|
|
make DESTDIR="$pkgdir/" install-jade
|
|
fi
|
|
|
|
make DESTDIR="$pkgdir/"
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname"
|
|
make DESTDIR="$pkgdir/" install
|
|
} |