1
0

PKGBUILD. Made use of pkgver. Change GOPATH. Install jade.

This commit is contained in:
Alexander Andreev 2023-05-06 05:20:05 +04:00
parent e3915a967c
commit c80d49dab5
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -1,30 +1,31 @@
# Maintainer: Alexander "Arav" Andreev <me@arav.su> # Maintainer: Alexander "Arav" Andreev <me@arav.su>
pkgname=dwelling-home pkgname=dwelling-home
pkgver=23.10.0 pkgver=23.18.0
pkgrel=1 pkgrel=1
pkgdesc="Arav's dwelling / Home" pkgdesc="Arav's dwelling / Home"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://git.arav.su/Arav/dwelling-home" url="https://git.arav.su/Arav/dwelling-home"
license=('MIT') license=('MIT')
groups=()
depends=('sqlite') depends=('sqlite')
makedepends=('go') makedepends=('go')
provides=('dwelling-home') provides=('dwelling-home')
conflicts=('dwelling-home') conflicts=('dwelling-home')
replaces=() source=("https://git.arav.su/Arav/dwelling-home/archive/v${pkgver}.tar.gz")
backup=()
options=()
install=
source=('https://git.arav.su/Arav/dwelling-home/archive/23.10.0.tar.gz')
noextract=()
md5sums=('SKIP') md5sums=('SKIP')
build() { build() {
cd "$srcdir/$pkgname" 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() { package() {
cd "$srcdir/$pkgname" cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install make VERSION=$pkgver DESTDIR="$pkgdir/" install
} }