updated templates
This commit is contained in:
parent
1461a8f981
commit
446f7bd8e7
2 changed files with 25 additions and 2 deletions
23
templates/python.build.sh
Normal file
23
templates/python.build.sh
Normal 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
|
||||
}
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue