1
0
Fork 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
1 changed files with 11 additions and 10 deletions

View File

@ -1,30 +1,31 @@
# Maintainer: Alexander "Arav" Andreev <me@arav.su>
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
}