PKGBUILD. Made use of pkgver. Change GOPATH. Install jade.
This commit is contained in:
parent
e3915a967c
commit
c80d49dab5
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user