updated templates

This commit is contained in:
Ella-0 2021-06-12 17:58:00 +01:00
parent 1461a8f981
commit 446f7bd8e7
2 changed files with 25 additions and 2 deletions

23
templates/python.build.sh Normal file
View file

@ -0,0 +1,23 @@
pkgname=python-
pkgver=
fetch() {
curl "" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
python setup.py build
}
package() {
cd $pkgname-$pkgver
python setup.py install --root=$pkgdir --skip-build
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}

View file

@ -10,8 +10,8 @@ build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--build=x86_64-unknown-linux-musl \
--host=x86_64-unknown-linux-musl
--build=$TRIPLE \
--host=$TRIPLE
make
}