2023-03-11 22:38:25 +04:00
|
|
|
# Maintainer: Alexander "Arav" Andreev <me@arav.su>
|
2023-01-16 05:24:07 +04:00
|
|
|
pkgname=dwelling-home
|
2024-04-16 18:39:52 +04:00
|
|
|
pkgver=24.16.1
|
2023-01-16 05:24:07 +04:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Arav's dwelling / Home"
|
|
|
|
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
2023-03-11 22:38:25 +04:00
|
|
|
url="https://git.arav.su/Arav/dwelling-home"
|
2023-01-16 05:24:07 +04:00
|
|
|
license=('MIT')
|
2023-09-23 03:55:01 +04:00
|
|
|
makedepends=('go>=1.17')
|
2023-05-06 05:20:05 +04:00
|
|
|
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"
|
2023-05-06 05:20:05 +04:00
|
|
|
export GOPATH="$srcdir"/gopath
|
2023-09-23 03:51:25 +04:00
|
|
|
export CGO_CPPFLAGS="${CPPFLAGS}"
|
|
|
|
export CGO_CFLAGS="${CFLAGS}"
|
|
|
|
export CGO_CXXFLAGS="${CXXFLAGS}"
|
|
|
|
export CGO_LDFLAGS="${LDFLAGS}"
|
|
|
|
make VERSION=$pkgver DESTDIR="$pkgdir/" PREFIX="/usr"
|
2023-01-16 05:24:07 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname"
|
2023-09-25 02:17:12 +04:00
|
|
|
make DESTDIR="$pkgdir/" PREFIX="/usr" install
|
2023-01-16 05:24:07 +04:00
|
|
|
}
|