mirror of
https://github.com/archlinux/aur.git
synced 2025-12-10 08:05:42 +01:00
Initial release: Void Editor v1.99.30044
This commit is contained in:
commit
9a626610af
2 changed files with 42 additions and 0 deletions
19
.SRCINFO
Normal file
19
.SRCINFO
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
pkgbase = void-editor-bin
|
||||||
|
pkgdesc = The AI IDE for prototype to production (Binary release)
|
||||||
|
pkgver = 1.99.30044
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://void.editor
|
||||||
|
arch = x86_64
|
||||||
|
license = custom
|
||||||
|
depends = gtk3
|
||||||
|
depends = libxss
|
||||||
|
depends = nss
|
||||||
|
depends = alsa-lib
|
||||||
|
depends = libxtst
|
||||||
|
depends = xdg-utils
|
||||||
|
provides = void-editor
|
||||||
|
conflicts = void-editor
|
||||||
|
source = void-editor.deb::https://github.com/voideditor/binaries/releases/download/1.99.30044/void_1.99.30044_amd64.deb
|
||||||
|
sha256sums = SKIP
|
||||||
|
|
||||||
|
pkgname = void-editor-bin
|
||||||
23
PKGBUILD
Normal file
23
PKGBUILD
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
# Maintainer: petehsu <your_email@example.com>
|
||||||
|
pkgname=void-editor-bin
|
||||||
|
pkgver=1.99.30044
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="The AI IDE for prototype to production (Binary release)"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://void.editor"
|
||||||
|
license=('custom')
|
||||||
|
depends=('gtk3' 'libxss' 'nss' 'alsa-lib' 'libxtst' 'xdg-utils')
|
||||||
|
provides=('void-editor')
|
||||||
|
conflicts=('void-editor')
|
||||||
|
# 这里使用了你刚才提供的 URL
|
||||||
|
source=("void-editor.deb::https://github.com/voideditor/binaries/releases/download/${pkgver}/void_${pkgver}_amd64.deb")
|
||||||
|
sha256sums=('SKIP') # 既然是本地自己用,我们先跳过校验码,方便省事
|
||||||
|
|
||||||
|
package() {
|
||||||
|
# 1. 解压 deb 包里的 data.tar.xz 到安装目录
|
||||||
|
# 注意:makepkg 会自动把 .deb 解压成 data.tar.xz,我们只需要解压这个 data 文件
|
||||||
|
bsdtar -xf data.tar.xz -C "${pkgdir}"
|
||||||
|
|
||||||
|
# 2. 修正一下权限 (防止文件只读)
|
||||||
|
chmod -R 755 "${pkgdir}/usr"
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue