diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..d143943 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = cursor-free-vip-git + pkgdesc = Reset Cursor AI MachineID & Auto Sign Up / In & Bypass Higher Token Limit + pkgver = 1.9.03.2.g43a58db + pkgrel = 1 + url = https://github.com/yeongpin/cursor-free-vip + arch = x86_64 + license = MIT + makedepends = git + makedepends = python + makedepends = pyinstaller + makedepends = uv + depends = python + depends = cursor-bin + provides = cursor-free-vip + source = cursor-free-vip::git+https://github.com/yeongpin/cursor-free-vip.git + sha256sums = SKIP + +pkgname = cursor-free-vip-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..97c5636 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# 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" +} \ No newline at end of file