initial commit

This commit is contained in:
Christian Schendel 2025-10-14 05:02:42 +02:00
commit 5f2de264e2
Signed by: doppelhelix
GPG key ID: 5874D2437CD5BBB3
10 changed files with 181 additions and 0 deletions

33
PKGBUILD Normal file
View file

@ -0,0 +1,33 @@
# Maintainer: Christian Schendel <doppelhelix@gmail.com>
pkgname=dalci-appstream-data
pkgver=20251014
pkgrel=1
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=('242a22a6b15b05ab87f69bcba9e0b0fc433ed819073a9cf31e6149e894f04e4ebdd731e781869d5124f7b1d30217def1b69bf3788b890b7e621a8c21aabc1a24')
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: