Skip to content

Commit ac1b8fa

Browse files
committed
Create PKGBUILD
1 parent 13a9e57 commit ac1b8fa

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

PKGBUILD

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
pkgname=python-i686-bin
2+
pkgver=3.11.8
3+
pkgrel=1
4+
arch=('x86_64')
5+
url="https://github.com/shdwmtr/pybuilder"
6+
license=('custom')
7+
options=('!debug')
8+
depends=('glibc' 'zlib' 'bzip2' 'openssl' 'libffi')
9+
source=("$url/releases/download/v1.0.1/python-3.11.8-32-bit.tar.gz")
10+
sha256sums=('10af38d15eefc7ea55cc794444dfcf456e38f0f2883dc8e168ccc7d44555abfc')
11+
12+
package() {
13+
cd "$srcdir"
14+
15+
# Create necessary directories
16+
install -dm755 "$pkgdir/opt/python-i686-$pkgver"
17+
install -dm755 "$pkgdir/usr/bin"
18+
19+
# Extract and move files
20+
tar -xf "python-3.11.8-32-bit.tar.gz"
21+
mv bin "$pkgdir/opt/python-i686-$pkgver/"
22+
mv lib "$pkgdir/opt/python-i686-$pkgver/"
23+
}

0 commit comments

Comments
 (0)