diff --git a/build/archlinux/PKGBUILD b/build/archlinux/PKGBUILD index e591c4f..c646dfa 100644 --- a/build/archlinux/PKGBUILD +++ b/build/archlinux/PKGBUILD @@ -1,30 +1,31 @@ # Maintainer: Alexander "Arav" Andreev pkgname=dwelling-home -pkgver=23.10.0 +pkgver=23.18.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') -groups=() depends=('sqlite') makedepends=('go') provides=('dwelling-home') conflicts=('dwelling-home') -replaces=() -backup=() -options=() -install= -source=('https://git.arav.su/Arav/dwelling-home/archive/23.10.0.tar.gz') -noextract=() +source=("https://git.arav.su/Arav/dwelling-home/archive/v${pkgver}.tar.gz") md5sums=('SKIP') build() { cd "$srcdir/$pkgname" - make DESTDIR="$pkgdir/" + + export GOPATH="$srcdir"/gopath + + if [ ! -f "$(go env GOPATH)/bin/jade" ]; then + make DESTDIR="$pkgdir" install-jade + fi + + make VERSION=$pkgver DESTDIR="$pkgdir/" } package() { cd "$srcdir/$pkgname" - make DESTDIR="$pkgdir/" install + make VERSION=$pkgver DESTDIR="$pkgdir/" install } \ No newline at end of file