aports/testing/wicd/APKBUILD
Jakub Jirutka 63f5e7d295 [various]: unify names of licenses according to SPDX
This commit updates $license variable in all APKBUILDs to comply with
short names specified by SPDX version 3.0 [1] where possible. It was
done using find-and-replace method on substrings inside $license
variables.

Only license names were updated, not "expressions" specifying relation
between the licenses (e.g. "X and Y", "X or Y", "X and (Y or Z)") or
exceptions (e.g. "X with exceptions").

Many licenses have a version or multiple variants, e.g. MPL-2.0,
BSD-2-Clause, BSD-3-Clause. However, $license in many aports do not
contain license version or variant. Since there's no way how to infer
this information just from abuild, it were left without the variant
suffix or version, i.e. non SPDX compliant.

GNU licenses (AGPL, GFDL, GPL, LGPL) are especially complicated. They
exist in two variants: -only (formerly e.g. GPL-2.0) and -or-later
(formerly e.g. GPL-2.0+). We did not systematically noted distinguish
between these variants, so GPL-2.0, GPL2, GPLv2 etc. may mean
GPL-2.0-only or GPL-2.0-or-later. Thus GNU licenses without "+" (e.g.
GPL2+) were left without the variant suffix, i.e. non SPDX compliant.

Note: This commit just fixes format of the license names, no
verification has been done if the specified license information is
actually correct!

[1]: https://spdx.org/licenses/
2017-12-30 21:05:50 +01:00

32 lines
1.1 KiB
Plaintext

# Contributor: Konstantin Khokhlov <khohlovsky@gmail.com>
pkgname=wicd
pkgver=1.7.2.4
pkgrel=0
pkgdesc="Wicd is an open source wired and wireless network manager for Linux"
url="http://wicd.sourceforge.net/"
arch="noarch"
license="GPL-2.0"
depends="python2 py-gtk dbus py-dbus wireless-tools iproute2 pm-utils py2-babel"
makedepends="py-setuptools"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/dpaleino/wicd/archive/1.7.2.4.tar.gz
wicd.initd"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
python setup.py configure \
--distro=gentoo \
--no-install-init \
--no-install-man
}
package() {
cd "$builddir"
python setup.py install --root="$pkgdir" --prefix="/usr"
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname || return 1
}
sha512sums="3b42e94de3c6f0bfcbb45e7f6b598e7b6dbec25ff29ce3e1744876f75e0662d4f3ad0ccaba1a24e728fd63fc492d6f7d5c768247b9d55bcc2994df0d1b52bf80 wicd-1.7.2.4.tar.gz
6e4d550bc496cb28b6234f6feb1c16ee595fd9ae77bfcb0bb35b41a66e68d638d062cb3ac4abe3548fcf22b51189fbf26cd7c269995224650de495ff67ac24ba wicd.initd"