2023-10-30 02:18:41 +04:00
|
|
|
# Maintainer: Alexander "Arav" Andreev <me@arav.su>
|
|
|
|
pkgname=mccl
|
2024-12-15 17:09:57 +04:00
|
|
|
pkgver=0.1.3
|
2023-10-30 02:18:41 +04:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Console Minecraft launcher"
|
|
|
|
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
|
|
|
url="https://git.arav.su/Arav/mccl"
|
|
|
|
license=('GPL3')
|
|
|
|
makedepends=('go>=1.17')
|
|
|
|
source=("${pkgver}.tar.gz::https://git.arav.su/Arav/mccl/archive/v${pkgver}.tar.gz")
|
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
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" PREFIX="/usr"
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname"
|
|
|
|
make DESTDIR="$pkgdir" PREFIX="/usr" install
|
|
|
|
}
|