Skip to content

Commit 60ac34a

Browse files
committed
General updates
1 parent 4dafe39 commit 60ac34a

File tree

1 file changed

+23
-41
lines changed

1 file changed

+23
-41
lines changed

pkgbuild/PKGBUILD

Lines changed: 23 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,59 @@
11
#Maintainer: Leonardo Berbert <leo4berbert@gmail.com>
22
#Maintainer: Tales A. Mendonça <talesam@gmail.com>
3+
#Maintainer: Bruno Gonçalves <www.biglinux.com.br>
34

45
pkgname=ashyterm
5-
pkgdesc="A modern GTK4/Adwaita terminal emulator with advanced session management, SSH integration, and security features."
6-
# Uncomment and edit the following lines as needed
6+
pkgdesc="A modern GTK4/Adwaita terminal emulator with advanced session management, SSH integration, File Manager, and security features."
7+
78
depends=(
89
'gtk4'
910
'libadwaita'
11+
'libsecret'
1012
'python'
1113
'python-py7zr'
1214
'python-gobject'
1315
'python-setproctitle'
16+
'python-requests'
1417
'sshpass'
18+
'rsync'
1519
'vte4'
16-
'libchildenv'
17-
'jemalloc'
20+
'libchildenv' # Optional, but recommended to improve GTK memory management.
21+
'mimalloc' # Optional, but recommended to improve GTK memory management.
22+
)
23+
makedepends=(
24+
'python-build'
25+
'python-installer'
26+
'python-uv-build'
27+
'python-wheel'
1828
)
29+
#optdepends=('')
30+
1931
conflicts=('comm-ashyterm')
2032
provides=('comm-ashyterm')
2133
replaces=('comm-ashyterm')
22-
#makedepends=('')
23-
#optdepends=('')
24-
pkgver=$(date +%y.%m.%d)
25-
pkgrel=$(date +%H%M)
34+
35+
pkgver="0.1.0"
36+
pkgrel="1"
37+
2638
arch=('any')
2739
license=('MIT')
2840
url="https://github.com/big-comm/${pkgname}"
2941
_gitbranch="main"
3042
source=("git+${url}.git#branch=${_gitbranch}")
3143
md5sums=('SKIP')
3244

33-
# Automatically detect and use the correct install file
34-
if [ -e "${pkgname}.install" ]; then
35-
install=${pkgname}.install
36-
elif [ -e "pkgbuild.install" ]; then
37-
install=pkgbuild.install
38-
fi
39-
40-
prepare() {
41-
cd "${srcdir}/${pkgname}"
42-
# Add any preparation steps here, if needed
43-
# For example: patch -p1 < "${srcdir}/patch-file.patch"
44-
}
45-
4645
build() {
4746
cd "${srcdir}/${pkgname}"
48-
# Add build steps here, if needed
49-
# For example: make
50-
}
51-
52-
check() {
53-
cd "${srcdir}/${pkgname}"
54-
# Add check/test steps here, if needed
55-
# For example: make check
47+
python -m build --wheel --no-isolation --skip-dependency-check
5648
}
5749

5850
package() {
5951
cd "${srcdir}/${pkgname}"
6052

61-
# Determine the correct source directory
62-
if [ -d "${pkgname}" ]; then
63-
srcdir="${srcdir}/${pkgname}/${pkgname}"
64-
else
65-
srcdir="${srcdir}/${pkgname}"
66-
fi
53+
python -m installer --destdir="$pkgdir" dist/*.whl
6754

6855
# Install files
69-
local dirs=("usr" "etc" "opt")
70-
for dir in "${dirs[@]}"; do
71-
if [ -d "${srcdir}/${dir}" ]; then
72-
cp -a "${srcdir}/${dir}" "${pkgdir}/"
73-
fi
74-
done
56+
cp -a usr/share "${pkgdir}/usr/share"
7557

7658
# Install license file if present
7759
if [ -f "LICENSE" ]; then

0 commit comments

Comments
 (0)