1
0
dwelling-home/build/archlinux/PKGBUILD

31 lines
749 B
Bash
Raw Normal View History

# Maintainer: Alexander "Arav" Andreev <me@arav.su>
2023-01-16 05:24:07 +04:00
pkgname=dwelling-home
2023-05-09 23:34:29 +04:00
pkgver=23.19.0
2023-01-16 05:24:07 +04:00
pkgrel=1
pkgdesc="Arav's dwelling / Home"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://git.arav.su/Arav/dwelling-home"
2023-01-16 05:24:07 +04:00
license=('MIT')
2023-02-05 23:23:16 +04:00
depends=('sqlite')
2023-01-16 05:24:07 +04:00
makedepends=('go')
provides=('dwelling-home')
conflicts=('dwelling-home')
source=("https://git.arav.su/Arav/dwelling-home/archive/v${pkgver}.tar.gz")
2023-01-16 05:24:07 +04:00
md5sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
export GOPATH="$srcdir"/gopath
if [ ! -f "$(go env GOPATH)/bin/jade" ]; then
make DESTDIR="$pkgdir" install-jade
fi
make VERSION=$pkgver DESTDIR="$pkgdir/"
2023-01-16 05:24:07 +04:00
}
package() {
cd "$srcdir/$pkgname"
make VERSION=$pkgver DESTDIR="$pkgdir/" install
2023-01-16 05:24:07 +04:00
}