# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=alpinelinux-appstream-data pkgver=20200430 pkgrel=1 pkgdesc="Alpine Linux appstream data" url="https://alpinelinux.org" arch="noarch" license="GPL-3.0-or-later" options="!check" # Only XML data and icons - no tests source=" $pkgname-icons-main-64x64-$pkgver.tar.gz::https://dev.alpinelinux.org/archive/alpinelinux-appstream-data/edge/20200430/main/icons-64x64.tar.gz $pkgname-icons-main-128x128-$pkgver.tar.gz::https://dev.alpinelinux.org/archive/alpinelinux-appstream-data/edge/20200430/main/icons-128x128.tar.gz $pkgname-repo-main-$pkgver.xml.gz::https://dev.alpinelinux.org/archive/alpinelinux-appstream-data/edge/20200430/main/Components-x86_64.xml.gz $pkgname-icons-community-64x64-$pkgver.tar.gz::https://dev.alpinelinux.org/archive/alpinelinux-appstream-data/edge/20200430/community/icons-64x64.tar.gz $pkgname-icons-community-128x128-$pkgver.tar.gz::https://dev.alpinelinux.org/archive/alpinelinux-appstream-data/edge/20200430/community/icons-128x128.tar.gz $pkgname-repo-community-$pkgver.xml.gz::https://dev.alpinelinux.org/archive/alpinelinux-appstream-data/edge/20200430/community/Components-x86_64.xml.gz $pkgname-icons-testing-64x64-$pkgver.tar.gz::https://dev.alpinelinux.org/archive/alpinelinux-appstream-data/edge/20200430/testing/icons-64x64.tar.gz $pkgname-icons-testing-128x128-$pkgver.tar.gz::https://dev.alpinelinux.org/archive/alpinelinux-appstream-data/edge/20200430/testing/icons-128x128.tar.gz $pkgname-repo-testing-$pkgver.xml.gz::https://dev.alpinelinux.org/archive/alpinelinux-appstream-data/edge/20200430/testing/Components-x86_64.xml.gz " builddir="$srcdir/" unpack() { : } package() { mkdir -p "$pkgdir"/usr/share/app-info/xmls for _repo in main community testing; do mkdir -p \ "$pkgdir"/usr/share/app-info/icons/alpinelinux-edge-$_repo/64x64 \ "$pkgdir"/usr/share/app-info/icons/alpinelinux-edge-$_repo/128x128 tar xf "$srcdir"/$pkgname-icons-$_repo-64x64-$pkgver.tar.gz -C "$pkgdir"/usr/share/app-info/icons/alpinelinux-edge-$_repo/64x64 tar xf "$srcdir"/$pkgname-icons-$_repo-128x128-$pkgver.tar.gz -C "$pkgdir"/usr/share/app-info/icons/alpinelinux-edge-$_repo/128x128 cp "$srcdir"/$pkgname-repo-$_repo-$pkgver.xml.gz "$pkgdir"/usr/share/app-info/xmls/$_repo.xml.gz done } sha512sums="a6aa2f363a75e3210ef2e1bd2377c3d0c3899c8bef48a9915227e5d8bcbd607c93e949a47d67dbc93fcc083229ec21819bfa858b32d36912d060007cef210df4 alpinelinux-appstream-data-icons-main-64x64-20200430.tar.gz 3fbeaa7c173b994459120ffab929e82ead37dc30b810f6de5b60d8cfeea6210e6d4bf263944f66d8bf97eb69dd3aa894695829e47b50cbb7c14a9ec47594d57a alpinelinux-appstream-data-icons-main-128x128-20200430.tar.gz fbe0ce8c0ec3f619fa416ac8fa10c8f0c0f7818c1c106009c1d5a875f4bfc162f4964acf383faa9aa9f4eb71c51670af26484fecd3b0e58a0af182636b88ae11 alpinelinux-appstream-data-repo-main-20200430.xml.gz fa479d22f004ab5b5a24fe08cafc8019b526c68479266db09adbd1fc568e8052f49b60643a2d247d56b5e0bb00f9e3c83bfc78fce0179381863da60b721a70b9 alpinelinux-appstream-data-icons-community-64x64-20200430.tar.gz dfe3c5ca4c94c4468cee731f9fe964ba70bd1162bed7328b874dbcffcd44d330f680d6884e9d1d4c1ac5e53d4cb43cb4b18c89077be6a25ac4ead0a4e1165caa alpinelinux-appstream-data-icons-community-128x128-20200430.tar.gz c5cc396520dc41b007beca8f9d9c17ed0c7622efec920d21c8a40b44fd5d59e866c3a4c8e901b96c3bb53c66719372ee9846630cf929b0b7af5f9999821894ec alpinelinux-appstream-data-repo-community-20200430.xml.gz ecfb30737f5e9f0f00726443431c922eabc39562b1c8ad6fd9c28f013f956c8823808eca6f876a1c482b57c8aab19029b767799fd7f7d5cd4dc7ad0ffe9e4936 alpinelinux-appstream-data-icons-testing-64x64-20200430.tar.gz 8ceffe7110684b441537780746e132d6490863f64bc1d14d8392902410ae7bd25b9b2c6dfc1f68d363dea34b33de54ccb3f5235a0812b6fc6ceb63865565a12e alpinelinux-appstream-data-icons-testing-128x128-20200430.tar.gz bed6a5f3fea13b03e4bb00482843dccbd2befe824fc30aeae9c61153248bf432fe3ac21e023d8b39733c1734e8b046bb4b7b0b4360b3ef96e523a9dc7cf5ca4c alpinelinux-appstream-data-repo-testing-20200430.xml.gz"