1
0
dwelling-upload/build/archlinux/PKGBUILD

28 lines
774 B
Bash
Raw Permalink Normal View History

# Maintainer: Alexander "Arav" Andreev <me@arav.su>
2022-08-24 21:44:29 +04:00
pkgname=dwelling-upload
2023-08-23 04:04:22 +04:00
pkgver=23.34.0
2022-02-07 20:38:34 +04:00
pkgrel=1
pkgdesc="Arav's Dwelling / Upload"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://git.arav.su/Arav/dwelling-upload"
2022-02-07 20:38:34 +04:00
license=('MIT')
makedepends=('go>=1.17')
2022-03-20 18:20:46 +04:00
provides=('dwelling-upload')
conflicts=('dwelling-upload')
source=("https://git.arav.su/Arav/dwelling-upload/archive/v${pkgver}.tar.gz")
2022-03-20 18:20:46 +04:00
md5sums=('SKIP')
2022-02-07 20:38:34 +04:00
build() {
cd "$srcdir/$pkgname"
export GOPATH="$srcdir"/gopath
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
make VERSION=$pkgver DESTDIR="$pkgdir/"
2022-02-07 20:38:34 +04:00
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
}