iglunix/templates/python.build.sh

24 lines
315 B
Bash
Raw Normal View History

2021-06-12 16:58:00 +00:00
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
}