33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Maintainer: Christian Schendel <doppelhelix@gmail.com>
|
|
|
|
pkgname=dalci-appstream-data
|
|
pkgver=20251108
|
|
pkgrel=3
|
|
pkgdesc='dalci application database for AppStream-based software centers'
|
|
arch=(any)
|
|
url='https://repo.doppelhelix.net'
|
|
license=(
|
|
LicenseRef-custom
|
|
)
|
|
depends=()
|
|
makedepends=()
|
|
source=(
|
|
"appstream-data.tar.gz"
|
|
)
|
|
b2sums=('6cd8fd785beccfaae1a8b7433b58af812fec91544f19eb51cee35a6c7747d7f240ea6a239921d72e1bbad2722222e72afca0feed95bf722d3a35857c5e489d02')
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir"/usr/share/swcatalog/{icons/archlinux-arch-{dalci,dalci-3rdparty}/{48x48,64x64,128x128},xml}
|
|
for _repo in dalci dalci-3rdparty; do
|
|
tar -xzf $_repo/icons-48x48.tar.gz \
|
|
-C "$pkgdir"/usr/share/swcatalog/icons/archlinux-arch-$_repo/48x48
|
|
tar -xzf $_repo/icons-64x64.tar.gz \
|
|
-C "$pkgdir"/usr/share/swcatalog/icons/archlinux-arch-$_repo/64x64
|
|
tar -xzf $_repo/icons-128x128.tar.gz \
|
|
-C "$pkgdir"/usr/share/swcatalog/icons/archlinux-arch-$_repo/128x128
|
|
install -m644 $_repo/Components-x86_64.xml.gz \
|
|
"$pkgdir"/usr/share/swcatalog/xml/$_repo.xml.gz
|
|
done
|
|
}
|
|
|
|
# vim: set ts=4 sw=4 et:
|