1
0
dwelling-files/build/archlinux/PKGBUILD

25 lines
667 B
Bash
Raw Normal View History

# Maintainer: Alexander "Arav" Andreev <me@arav.su>
2022-08-24 21:42:10 +04:00
pkgname=dwelling-files
2023-08-13 04:06:34 +04:00
pkgver=23.32.0
2022-06-27 04:38:09 +04:00
pkgrel=1
pkgdesc="Arav's dwelling / Files"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://git.arav.su/Arav/dwelling-files"
2022-06-27 04:38:09 +04:00
license=('MIT')
makedepends=('go>=1.16')
2022-06-27 04:38:09 +04:00
provides=('dwelling-files')
conflicts=('dwelling-files')
2023-06-13 00:15:23 +04:00
source=("${pkgver}.tar.gz::https://git.arav.su/Arav/dwelling-files/archive/v${pkgver}.tar.gz")
2022-06-27 04:38:09 +04:00
md5sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
export GOPATH="$srcdir"/gopath
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr"
2022-06-27 04:38:09 +04:00
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" PREFIX="/usr" install
2022-06-27 04:38:09 +04:00
}