2023-02-23 18:16:06 +04:00
|
|
|
# Maintainer: Alexander "Arav" Andreev <me@arav.su>
|
2022-08-24 21:44:29 +04:00
|
|
|
pkgname=dwelling-upload
|
2023-03-12 00:15:25 +04:00
|
|
|
pkgver=23.10.0
|
2022-02-07 20:38:34 +04:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Arav's Dwelling / Upload"
|
|
|
|
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
2023-02-23 18:16:06 +04:00
|
|
|
url="https://git.arav.su/Arav/dwelling-upload"
|
2022-02-07 20:38:34 +04:00
|
|
|
license=('MIT')
|
2022-03-20 18:20:46 +04:00
|
|
|
groups=()
|
|
|
|
depends=()
|
2023-02-23 18:16:06 +04:00
|
|
|
makedepends=('go')
|
2022-03-20 18:20:46 +04:00
|
|
|
provides=('dwelling-upload')
|
|
|
|
conflicts=('dwelling-upload')
|
|
|
|
replaces=()
|
2022-02-17 02:41:58 +04:00
|
|
|
backup=('etc/dwelling/upload.yaml')
|
2022-03-20 18:20:46 +04:00
|
|
|
options=()
|
|
|
|
install=
|
2023-03-12 00:15:25 +04:00
|
|
|
source=('https://git.arav.top/Arav/dwelling-upload/archive/23.10.0.tar.gz')
|
2022-03-20 18:20:46 +04:00
|
|
|
noextract=()
|
|
|
|
md5sums=('SKIP')
|
2022-02-07 20:38:34 +04:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname"
|
2023-03-12 00:41:59 +04:00
|
|
|
if [ ! -f "$(go env GOPATH)/bin/jade" ]; then
|
|
|
|
make DESTDIR="$pkgdir/" install-jade
|
|
|
|
fi
|
|
|
|
|
2022-02-07 20:38:34 +04:00
|
|
|
make DESTDIR="$pkgdir/"
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname"
|
|
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
}
|