mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
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/
63 lines
1.8 KiB
Plaintext
63 lines
1.8 KiB
Plaintext
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
|
|
pkgname=albatross-themes
|
|
pkgver=1.7.4
|
|
pkgrel=0
|
|
pkgdesc="A clean minimalistic theme for Xfce, GTK 2 and 3"
|
|
url="http://shimmerproject.org/project/albatross/"
|
|
arch="noarch"
|
|
license="GPL-2.0 or CC-BY-SA"
|
|
makedepends="$depends_dev"
|
|
subpackages="$pkgname-gtk2 $pkgname-gtk3 $pkgname-metacity $pkgname-xfwm4"
|
|
source="albatross-$pkgver.tar.gz::https://github.com/shimmerproject/Albatross/archive/v$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/Albatross-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
# Remove Unity theme
|
|
rm -f gtk-3.0/apps/unity.css
|
|
sed -i '/unity\.css/d' gtk-3.0/gtk.css
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
mkdir -p "$pkgdir"/usr/share/themes/Albatross
|
|
cp -pr * "$pkgdir"/usr/share/themes/Albatross
|
|
}
|
|
|
|
_mv() {
|
|
pkgdesc="$1"
|
|
install_if="$pkgname=$pkgver-r$pkgrel $2";
|
|
depends=
|
|
local _i
|
|
shift; shift
|
|
mkdir -p "$subpkgdir"/usr/share/themes/Albatross
|
|
for _i; do
|
|
msg "moving $_i"
|
|
mv "$pkgdir"/usr/share/themes/Albatross/$_i \
|
|
"$subpkgdir"/usr/share/themes/Albatross || return 1
|
|
done
|
|
}
|
|
|
|
gtk2() {
|
|
_mv "Albatross GTK2 themes" gtk2.0 gtk-2.0
|
|
depends="gtk-murrine-engine"
|
|
}
|
|
|
|
gtk3() { _mv "Albatross GTK3 themes" gtk3.0 gtk-3.0; }
|
|
metacity() { _mv "Albatross Metacity themes" metacity metacity-1; }
|
|
xfwm4() { _mv "Albatross Xfce4 themes" xfwm4 xfwm4; }
|
|
|
|
md5sums="66e7dcf8efe689d9f40ac53b5fb245f6 albatross-1.7.4.tar.gz"
|
|
sha256sums="ff40e28e164cb99f01b131ae3e79a07782e29a720535460e901ce305fa322ae1 albatross-1.7.4.tar.gz"
|
|
sha512sums="3ec30f6c654e7e5ccc49cd7116c308329c5a4bd9027c90f6545ca73d4734e1339d1c79c0cb2a7489bb701ccb0623e6a0e72f22bd4c923bb32a75dd4f4337fcfd albatross-1.7.4.tar.gz"
|