diff options
author | Kevin Daudt <kdaudt@alpinelinux.org> | 2024-03-16 16:42:39 +0000 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2024-03-16 16:56:09 +0000 |
commit | 0755c3db0852ca1e499863a2ee1401548f4a793f (patch) | |
tree | 2c2e7860540acf0dbcc1be8b7450818adf4d0b94 | |
parent | 2db0d1a77a58fb93e1f64a9de37d6bf94d85f216 (diff) | |
download | aports-0755c3db0852ca1e499863a2ee1401548f4a793f.zip |
testing/*: use tabs consistently
-rw-r--r-- | testing/asahi-fwextract/APKBUILD | 4 | ||||
-rw-r--r-- | testing/asahi-scripts/APKBUILD | 12 | ||||
-rw-r--r-- | testing/linux-starfive/APKBUILD | 104 | ||||
-rw-r--r-- | testing/mesa-asahi/APKBUILD | 2 | ||||
-rw-r--r-- | testing/ovn/APKBUILD | 16 | ||||
-rw-r--r-- | testing/secsipidx/APKBUILD | 4 |
6 files changed, 71 insertions, 71 deletions
diff --git a/testing/asahi-fwextract/APKBUILD b/testing/asahi-fwextract/APKBUILD index 119960e730b..1ef9f4e71f2 100644 --- a/testing/asahi-fwextract/APKBUILD +++ b/testing/asahi-fwextract/APKBUILD @@ -15,11 +15,11 @@ makedepends="py3-build py3-installer py3-wheel py3-setuptools" builddir="$srcdir"/$_sourcename-$_installerver build() { - python -m build --wheel --no-isolation + python -m build --wheel --no-isolation } package() { - python -m installer --destdir="$pkgdir" dist/*.whl + python -m installer --destdir="$pkgdir" dist/*.whl } sha512sums=" e4e3ee6767074526cea44893144d1735de213fd3b472937f1b8a5494c90fb1ab8c7fc29aee760d648ecc10cf8685c206284ffe55595755f5373428ec35baea98 asahi-fwextract-0.6.9.tar.gz diff --git a/testing/asahi-scripts/APKBUILD b/testing/asahi-scripts/APKBUILD index 2749728a816..ac834d7ea77 100644 --- a/testing/asahi-scripts/APKBUILD +++ b/testing/asahi-scripts/APKBUILD @@ -10,18 +10,18 @@ source="${pkgname}-${pkgver}.tar.gz::https://github.com/AsahiLinux/${pkgname}/ar #install=asahi-scripts.install build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" - make PREFIX=/usr DESTDIR=${pkgdir} all + make PREFIX=/usr DESTDIR=${pkgdir} all } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" - make PREFIX=/usr DESTDIR=${pkgdir} install + make PREFIX=/usr DESTDIR=${pkgdir} install - install -Dm644 "$srcdir/${pkgname}-${pkgver}/LICENSE" \ - "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 "$srcdir/${pkgname}-${pkgver}/LICENSE" \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } sha512sums=" 90e25f476f6b128742650c4809537ae45666071e611ea47484c1c1e05ac6681ae8e0bf7b6d26ea95ccc292666c8810c0c377a416b31e7d6b22e437fbc1ef23a3 asahi-scripts-20230821.tar.gz diff --git a/testing/linux-starfive/APKBUILD b/testing/linux-starfive/APKBUILD index a5bc229ca02..de96c328225 100644 --- a/testing/linux-starfive/APKBUILD +++ b/testing/linux-starfive/APKBUILD @@ -174,70 +174,70 @@ _dev() { cp "$srcdir"/config-$_flavor.${CARCH} "$dir"/.config echo "-$pkgrel-$_flavor" > "$dir"/localversion-alpine - echo "Installing headers..." - cp -t $dir -a $builddir/include + echo "Installing headers..." + cp -t $dir -a $builddir/include echo "**********" - install -Dt $dir -m644 $builddir/Makefile - install -Dt $dir -m644 $builddir/Module.symvers - install -Dt $dir -m644 $builddir/System.map + install -Dt $dir -m644 $builddir/Makefile + install -Dt $dir -m644 $builddir/Module.symvers + install -Dt $dir -m644 $builddir/System.map cp -t $dir -a $builddir/scripts echo "***********************************" - install -Dt "${dir}/arch/${_carch}" -m644 $builddir/arch/${_carch}/Makefile - install -Dt "${dir}/arch/${_carch}/kernel" -m644 $builddir/arch/${_carch}/kernel/asm-offsets.s - cp -t "${dir}/arch/${_carch}" -a $builddir/arch/${_carch}/include + install -Dt "${dir}/arch/${_carch}" -m644 $builddir/arch/${_carch}/Makefile + install -Dt "${dir}/arch/${_carch}/kernel" -m644 $builddir/arch/${_carch}/kernel/asm-offsets.s + cp -t "${dir}/arch/${_carch}" -a $builddir/arch/${_carch}/include echo "***********************************" - install -Dt "$dir/drivers/md" -m644 drivers/md/*.h - install -Dt "$dir/net/mac80211" -m644 net/mac80211/*.h + install -Dt "$dir/drivers/md" -m644 drivers/md/*.h + install -Dt "$dir/net/mac80211" -m644 net/mac80211/*.h - # https://bugs.archlinux.org/task/13146 - install -Dt "$dir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h + # https://bugs.archlinux.org/task/13146 + install -Dt "$dir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h - # https://bugs.archlinux.org/task/20402 - install -Dt "$dir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h - install -Dt "$dir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h - install -Dt "$dir/drivers/media/tuners" -m644 drivers/media/tuners/*.h + # https://bugs.archlinux.org/task/20402 + install -Dt "$dir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h + install -Dt "$dir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h + install -Dt "$dir/drivers/media/tuners" -m644 drivers/media/tuners/*.h - # https://bugs.archlinux.org/task/71392 - install -Dt "$dir/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h + # https://bugs.archlinux.org/task/71392 + install -Dt "$dir/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h - echo "Installing KConfig files..." - find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \; + echo "Installing KConfig files..." + find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \; - echo "Removing unneeded architectures..." - local arch - for arch in "$dir"/arch/*/; do + echo "Removing unneeded architectures..." + local arch + for arch in "$dir"/arch/*/; do case $(basename "$arch") in $_carch) continue ;; esac - echo "Removing $(basename "$arch")" - rm -r "$arch" - done - - echo "Removing broken symlinks..." - find -L "$builddir" -type l -printf 'Removing %P\n' -delete - - echo "Removing loose objects..." - find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete - - echo "Stripping build tools..." - local file - while read -rd '' file; do - case "$(file -bi "$file")" in - application/x-sharedlib\;*) # Libraries (.so) - strip -v $STRIP_SHARED "$file" ;; - application/x-archive\;*) # Libraries (.a) - strip -v $STRIP_STATIC "$file" ;; - application/x-executable\;*) # Binaries - strip -v $STRIP_BINARIES "$file" ;; - application/x-pie-executable\;*) # Relocatable binaries - strip -v $STRIP_SHARED "$file" ;; - esac - done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0) - - echo "Stripping vmlinux..." - strip -v $STRIP_STATIC "$builddir/vmlinux" - - echo "Adding symlink..." + echo "Removing $(basename "$arch")" + rm -r "$arch" + done + + echo "Removing broken symlinks..." + find -L "$builddir" -type l -printf 'Removing %P\n' -delete + + echo "Removing loose objects..." + find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete + + echo "Stripping build tools..." + local file + while read -rd '' file; do + case "$(file -bi "$file")" in + application/x-sharedlib\;*) # Libraries (.so) + strip -v $STRIP_SHARED "$file" ;; + application/x-archive\;*) # Libraries (.a) + strip -v $STRIP_STATIC "$file" ;; + application/x-executable\;*) # Binaries + strip -v $STRIP_BINARIES "$file" ;; + application/x-pie-executable\;*) # Relocatable binaries + strip -v $STRIP_SHARED "$file" ;; + esac + done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0) + + echo "Stripping vmlinux..." + strip -v $STRIP_STATIC "$builddir/vmlinux" + + echo "Adding symlink..." mkdir -p "$subpkgdir"/lib/modules/${_abi_release} ln -sf /usr/src/linux-headers-${_abi_release} \ "$subpkgdir"/lib/modules/${_abi_release}/build diff --git a/testing/mesa-asahi/APKBUILD b/testing/mesa-asahi/APKBUILD index 51d25514fbc..2a87d6f1d89 100644 --- a/testing/mesa-asahi/APKBUILD +++ b/testing/mesa-asahi/APKBUILD @@ -22,7 +22,7 @@ subpackages=" $pkgname-osmesa $pkgname-gbm $pkgname-vulkan-swrast:_vulkan - $pkgname-rusticl + $pkgname-rusticl " _llvmver=17 depends_dev=" diff --git a/testing/ovn/APKBUILD b/testing/ovn/APKBUILD index e59113ac33a..c074ea02186 100644 --- a/testing/ovn/APKBUILD +++ b/testing/ovn/APKBUILD @@ -117,22 +117,22 @@ package() { rm -rf "$pkgdir"/etc/bash_completion.d install -Dm755 "$srcdir"/ovsdb-server.initd \ - "$pkgdir"/etc/init.d/ovsdb-server + "$pkgdir"/etc/init.d/ovsdb-server install -Dm755 "$srcdir"/ovs-vswitchd.initd \ - "$pkgdir"/etc/init.d/ovs-vswitchd + "$pkgdir"/etc/init.d/ovs-vswitchd install -Dm755 "$srcdir"/ovs-modules.initd \ - "$pkgdir"/etc/init.d/ovs-modules + "$pkgdir"/etc/init.d/ovs-modules install -Dm644 "$srcdir"/ovsdb-server.confd \ - "$pkgdir"/etc/conf.d/ovsdb-server + "$pkgdir"/etc/conf.d/ovsdb-server install -Dm644 "$srcdir"/ovs-vswitchd.confd \ - "$pkgdir"/etc/conf.d/ovs-vswitchd + "$pkgdir"/etc/conf.d/ovs-vswitchd install -d "$pkgdir"/etc/network/if-pre-up.d \ - "$pkgdir"/etc/network/if-post-down.d + "$pkgdir"/etc/network/if-post-down.d install -m755 debian/ifupdown.sh \ - "$pkgdir"/etc/network/if-pre-up.d/openvswitch + "$pkgdir"/etc/network/if-pre-up.d/openvswitch ln -s ../if-pre-up.d/openvswitch \ - "$pkgdir"/etc/network/if-post-down.d/openvswitch + "$pkgdir"/etc/network/if-post-down.d/openvswitch } sha512sums=" diff --git a/testing/secsipidx/APKBUILD b/testing/secsipidx/APKBUILD index c21aa219604..38837042553 100644 --- a/testing/secsipidx/APKBUILD +++ b/testing/secsipidx/APKBUILD @@ -27,8 +27,8 @@ package() { } libs() { - pkgdesc="secsipid library files" - amove usr/lib/*.so* + pkgdesc="secsipid library files" + amove usr/lib/*.so* } sha512sums=" |