You are not logged in.
I am writing my first PKGBUILD
# Maintainer: Abhinav Adhikari (abhinavadhikari481@gmail.com)
pkgname=python-vcdvcd
pkgver=2.6.0
_name=vcdvcd
pkgrel=1
pkgdesc="Python Verilog value change dump (VCD) parser library + the nifty vcdcat VCD command line viewer"
arch=('x86_64')
url="https://github.com/cirosantilli/vcdvcd"
source=(https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz)
sha256sums=('96d8ce491729e8c8ad7034a5093601409d8a3f4a34023d0be3db28650ecbb128')
depends=('python')
makedepends=('python-setuptools')
build() {
cd $_name-$pkgver
python setup.py build
}
package() {
cd $_name-$pkgver
install -Dm644 LICENCE.md -t "${pkgdir}/usr/share/licenses/${pkgname}/"
python setup.py install --root="$pkgdir" --optimize=1
}The code has a license states that
This package is licensed under Perl_5 - The Perl 5 License (Artistic 1 & GPL 1)
Any changes made by Ciro Santilli are also additionally licensed under MIT License.
The whole custom message is here
I have added the whole text above to the /usr/share/licenses. Is this all I need do to?
Do I also need to need to add a custom: to the license variable for that notice?
Offline
Unfortunately, that LICENCE.md is not a license, it's a discussion about licensing so it might as well not have any license at all, from a legal standpoint. You cannot have phrases such as "how much you believe", "would like to" and "in <subject's> understanding" in a license.
If you don't feel too strongly about this and just want to move on with packaging, I recommend tagging it with the most restrictive license, which I believe is GPL1.
Offline
arch=('x86_64')Pure python packages are arch any.
source=(https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz)Please consider using an alternative source to pypi if available https://rfc.archlinux.page/0020-sources … packaging/.
python setup.py buildDoes the package not support PEP517?
Offline