mirror of
https://github.com/yeongpin/cursor-free-vip.git
synced 2025-08-02 20:47:35 +08:00
32 lines
919 B
Bash
32 lines
919 B
Bash
# Maintainer: Canmi21 <9997200@qq.com>
|
|
# Contributor: Canmi (Canmi21)
|
|
|
|
pkgname=cursor-free-vip-git
|
|
pkgver=1.9.03.2.g43a58db
|
|
pkgrel=1
|
|
pkgdesc="Reset Cursor AI MachineID & Auto Sign Up / In & Bypass Higher Token Limit"
|
|
arch=('x86_64')
|
|
url="https://github.com/yeongpin/cursor-free-vip"
|
|
license=('MIT')
|
|
depends=('python' 'cursor-bin')
|
|
makedepends=('git' 'python' 'pyinstaller' 'uv')
|
|
provides=('cursor-free-vip')
|
|
source=("cursor-free-vip::git+https://github.com/yeongpin/cursor-free-vip.git")
|
|
sha256sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd "$srcdir/cursor-free-vip"
|
|
git describe --tags --always | sed 's/^v//;s/-/./g'
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/cursor-free-vip"
|
|
uv venv .venv
|
|
source .venv/bin/activate
|
|
uv pip install -r requirements.txt
|
|
pyinstaller --clean --noconfirm --onefile main.py --name cursor-free-vip
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 "$srcdir/cursor-free-vip/dist/cursor-free-vip" "$pkgdir/usr/bin/cursor-free-vip"
|
|
} |