diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-04-25 17:58:04 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-04-26 07:04:21 +0000 |
commit | 3024f6676073efb156bd7904c9f93d74a44cbdcc (patch) | |
tree | 376c329b629c2ffc9f4f02124677fa18c3325773 /community/osinfo-db | |
parent | de0c11db7326ef89ead739928ed6d1e6c71b2d64 (diff) | |
download | aports-3024f6676073efb156bd7904c9f93d74a44cbdcc.tar.bz2 aports-3024f6676073efb156bd7904c9f93d74a44cbdcc.tar.xz |
community/osinfo-db: update to 20190319
Diffstat (limited to 'community/osinfo-db')
-rw-r--r-- | community/osinfo-db/APKBUILD | 62 |
1 files changed, 4 insertions, 58 deletions
diff --git a/community/osinfo-db/APKBUILD b/community/osinfo-db/APKBUILD index bf3eef09e3..ff71d4518f 100644 --- a/community/osinfo-db/APKBUILD +++ b/community/osinfo-db/APKBUILD @@ -1,18 +1,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=osinfo-db -pkgver=20170813 -pkgrel=1 +pkgver=20190319 +pkgrel=0 pkgdesc="osinfo database files" url="http://libosinfo.org/" arch="noarch" license="LGPL-2.0-or-later" -depends="" makedepends="osinfo-db-tools" -install="" -subpackages="" -source="https://releases.pagure.org/libosinfo/osinfo-db-$pkgver.tar.xz - 0001-Add-alpine-linux-3.5-and-3.6.patch - " +source="https://releases.pagure.org/libosinfo/osinfo-db-$pkgver.tar.xz" builddir="$srcdir/osinfo-db-$pkgver" build() { @@ -23,59 +18,10 @@ check() { osinfo-db-validate --dir "$builddir" } - -mk_xml() { - local ver="$1" - cat <<EOF -<?xml version="1.0" encoding="UTF-8"?> -<libosinfo version="0.0.1"> - - <os id="http://alpinelinux.org/alpinelinux/$ver"> - <short-id>alpinelinux$ver</short-id> - <name>Alpine Linux $ver</name> - <version>$ver</version> - <vendor>Alpine Linux Project</vendor> - <family>linux</family> - <distro>alpinelinux</distro> - <resources arch="all"> - <minimum> - <cpu>1000000000</cpu> - <n-cpus>1</n-cpus> - <ram>134217728</ram> - <storage>1073741824</storage> - </minimum> - <recommended> - <cpu>1000000000</cpu> - <n-cpus>1</n-cpus> - <ram>805306368</ram> - <storage>4294967296</storage> - </recommended> - </resources> - <media arch="i686"> - <iso> - <volume-id>alpine-.* $ver.\d.* x86.*</volume-id> - </iso> - </media> - <media arch="x86_64"> - <iso> - <volume-id>alpine-.* $ver.\d.* x86_64.*</volume-id> - </iso> - </media> - </os> -</libosinfo> -EOF -} - package() { - local ver= cd "$builddir" osinfo-db-import --root "$pkgdir" \ --dir /usr/share/osinfo "$srcdir"/osinfo-db-$pkgver.tar.xz - mkdir -p "$pkgdir"/usr/share/osinfo/os/alpinelinux.org - for ver in 3.6 3.7; do - mk_xml $ver > "$pkgdir"/usr/share/osinfo/os/alpinelinux.org/alpinelinux-$ver.xml - done } -sha512sums="0ae4906b5c3eb400ca397f0c3baf5146b8197ee2dc712b1b89dd2f443f9505aee208327f008118628407b54ce52390a8b6138425f3f6f974b94f4a8d79955653 osinfo-db-20170813.tar.xz -f56cc5598fcc426e1c1b03814c9e6167602d7ebb096f7a0288ba6c432910405d26692135d7edd13c9d3de11507d1b361a1951056952a462f951d9b75be71f17f 0001-Add-alpine-linux-3.5-and-3.6.patch" +sha512sums="fb06adeaf639e71b02bec30dafbc405e903d490cd8038d4fe94de63c4d0bb9f617a469e59d11fd4dfc5c1c0d9a6094b888ce5867634c0cbe501e5195316a8e75 osinfo-db-20190319.tar.xz" |