mirror of
https://github.com/archlinux/aur.git
synced 2026-01-27 20:28:31 +01:00
Update to pkgrel 7
This commit is contained in:
parent
1803e143a8
commit
f1460b0373
3 changed files with 94 additions and 6 deletions
4
.SRCINFO
4
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = scidcommunity
|
||||
pkgdesc = Enhanced fork of Scid chess database with Chess.com/Lichess integration, tablebase lookup, improved search, and additional training features
|
||||
pkgver = 5.1.1
|
||||
pkgrel = 6
|
||||
pkgrel = 7
|
||||
url = https://github.com/whelanh/scidCommunity
|
||||
arch = x86_64
|
||||
license = GPL2
|
||||
|
|
@ -10,7 +10,7 @@ pkgbase = scidcommunity
|
|||
makedepends = git
|
||||
depends = tcl
|
||||
depends = tk
|
||||
source = scidcommunity-5.1.1.tar.gz::https://github.com/whelanh/scidCommunity/archive/f7fad958155d9b555090bad165738213392e8a81.tar.gz
|
||||
source = scidcommunity-5.1.1.tar.gz::https://github.com/whelanh/scidCommunity/archive/4b081fd499ad376791b601d8e9e5839626e628b3.tar.gz
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = scidcommunity
|
||||
|
|
|
|||
8
PKGBUILD
8
PKGBUILD
|
|
@ -1,24 +1,24 @@
|
|||
# Maintainer: Hugh Whelan <brickhousedevelopers@gmail.com>
|
||||
pkgname=scidcommunity
|
||||
pkgver=5.1.1
|
||||
pkgrel=6
|
||||
pkgrel=7
|
||||
pkgdesc="Enhanced fork of Scid chess database with Chess.com/Lichess integration, tablebase lookup, improved search, and additional training features"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/whelanh/scidCommunity"
|
||||
license=('GPL2')
|
||||
depends=('tcl' 'tk')
|
||||
makedepends=('gcc' 'make' 'git')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/whelanh/scidCommunity/archive/f7fad958155d9b555090bad165738213392e8a81.tar.gz")
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/whelanh/scidCommunity/archive/4b081fd499ad376791b601d8e9e5839626e628b3.tar.gz")
|
||||
sha256sums=('SKIP') # Safe to skip: integrity verified by commit hash
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/scidCommunity-f7fad958155d9b555090bad165738213392e8a81"
|
||||
cd "${srcdir}/scidCommunity-4b081fd499ad376791b601d8e9e5839626e628b3"
|
||||
./configure --prefix=/usr/local
|
||||
make all
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/scidCommunity-f7fad958155d9b555090bad165738213392e8a81"
|
||||
cd "${srcdir}/scidCommunity-4b081fd499ad376791b601d8e9e5839626e628b3"
|
||||
# Override SHAREDIR and BINDIR to use DESTDIR
|
||||
make install DESTDIR="${pkgdir}" SHAREDIR="${pkgdir}/usr/local/share/scid" BINDIR="${pkgdir}/usr/local/bin"
|
||||
}
|
||||
|
|
|
|||
88
README.md
Normal file
88
README.md
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
# AUR Package Submission for scidCommunity
|
||||
|
||||
This directory contains the PKGBUILD and related files for submitting scidCommunity to the Arch User Repository (AUR).
|
||||
|
||||
## Files
|
||||
|
||||
- **PKGBUILD** — The main build recipe for Arch Linux
|
||||
|
||||
## Steps to Test and Submit
|
||||
|
||||
### 1. Test the Build in Arch Distrobox
|
||||
|
||||
First, verify the PKGBUILD works correctly in Arch:
|
||||
|
||||
```bash
|
||||
distrobox enter Arch
|
||||
cd /path/to/scidCommunity/aur
|
||||
makepkg -si
|
||||
```
|
||||
|
||||
This will:
|
||||
- Download the source
|
||||
- Extract it
|
||||
- Run `./configure` and `make all`
|
||||
- Install to system
|
||||
|
||||
### 2. Identify Correct Arch Tcl/Tk Package Names
|
||||
|
||||
Once in the Arch distrobox, check the actual package names:
|
||||
|
||||
```bash
|
||||
pacman -Ss tcl
|
||||
pacman -Ss tk
|
||||
```
|
||||
|
||||
Update the `depends=()` and `makedepends=()` arrays in PKGBUILD if needed.
|
||||
|
||||
### 3. Fix sha256sum
|
||||
|
||||
The PKGBUILD currently has `sha256sums=('SKIP')`. To get the real hash:
|
||||
|
||||
```bash
|
||||
cd /path/to/scidCommunity/aur
|
||||
wget https://github.com/whelanh/scidCommunity/archive/cee3cc8b96b1476e44547c130e9316de47e9810b.tar.gz
|
||||
sha256sum cee3cc8b96b1476e44547c130e9316de47e9810b.tar.gz
|
||||
```
|
||||
|
||||
Replace the 'SKIP' in PKGBUILD with the actual hash.
|
||||
|
||||
### 4. Validate PKGBUILD Syntax
|
||||
|
||||
```bash
|
||||
cd /path/to/scidCommunity/aur
|
||||
namcap PKGBUILD
|
||||
namcap -i <pkgname>-<pkgver>-<pkgrel>-<arch>.pkg.tar.zst
|
||||
```
|
||||
|
||||
(Install `namcap` if needed: `pacman -S namcap`)
|
||||
|
||||
### 5. Create AUR Git Repository
|
||||
|
||||
Once testing passes:
|
||||
|
||||
1. Go to https://aur.archlinux.org/
|
||||
2. Login with your Arch Linux account
|
||||
3. Click "Submit a Package"
|
||||
4. Provide:
|
||||
- **Package name**: `scidcommunity`
|
||||
- **Initial PKGBUILD submission** or initialize with git
|
||||
|
||||
### 6. Submit via Git (After Initial Upload)
|
||||
|
||||
```bash
|
||||
git clone ssh://aur@aur.archlinux.org/scidcommunity.git
|
||||
cd scidcommunity
|
||||
cp /path/to/scidCommunity/aur/PKGBUILD .
|
||||
git add PKGBUILD
|
||||
git commit -m "Initial commit: scidcommunity 5.1.1"
|
||||
git push
|
||||
```
|
||||
|
||||
## Next Steps
|
||||
|
||||
For future updates:
|
||||
0. Manually update line 11 in PKGBUILD with the new commit hash from the parent
|
||||
1. Update the PKGBUILD (change pkgver or pkgrel)
|
||||
2. Regenerate .SRCINFO: distrobox enter Arch -- bash -c "cd /home/hugh/Downloads/scidCommunity/aur && makepkg --printsrcinfo > .SRCINFO"
|
||||
3. Commit and push: git commit -am "Update to version X.Y.Z" && git push
|
||||
Loading…
Add table
Reference in a new issue