# Maintainer: Alexander "Arav" Andreev <me@arav.su>
pkgname=dwelling-home
pkgver=23.32.0
pkgrel=1
pkgdesc="Arav's dwelling / Home"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://git.arav.su/Arav/dwelling-home"
license=('MIT')
depends=('sqlite')
makedepends=('go')
provides=('dwelling-home')
conflicts=('dwelling-home')
source=("https://git.arav.su/Arav/dwelling-home/archive/v${pkgver}.tar.gz")
md5sums=('SKIP')

build() {
    cd "$srcdir/$pkgname"
    export GOPATH="$srcdir"/gopath
    make VERSION=$pkgver DESTDIR="$pkgdir/"
}

package() {
    cd "$srcdir/$pkgname"
    make DESTDIR="$pkgdir/" install
}