OpenCPN-gshhs-crude: drop noarch

This commit is contained in:
Đoàn Trần Công Danh 2020-10-05 07:27:03 +07:00
parent 80aee9c6a0
commit a565859c2e

View file

@ -1,7 +1,7 @@
# Template file for 'OpenCPN-gshhs-crude'
pkgname=OpenCPN-gshhs-crude
version=2.2.4
revision=1
revision=2
wrksrc=opencpn
short_desc="World shoreline data for OpenCPN Navigation software (Crude Quality)"
maintainer="John <me@johnnynator.dev>"
@ -9,7 +9,6 @@ license="GPL-2.0-or-later"
homepage="https://opencpn.org/"
distfiles="https://launchpad.net/~opencpn/+archive/ubuntu/opencpn/+files/opencpn-gshhs_${version}.orig.tar.xz"
checksum=bb45b68af09d5a995594748f507cd533505264f0483c8cb8425693331cccf203
archs=noarch
do_install() {
for file in gshhs/*; do
@ -19,7 +18,6 @@ do_install() {
OpenCPN-gshhs-low_package() {
short_desc="${short_desc/Crude/Low}"
archs=noarch
depends="OpenCPN-gshhs-crude"
pkg_install() {
vmove usr/share/opencpn/gshhs/poly-c-1.dat
@ -30,7 +28,6 @@ OpenCPN-gshhs-low_package() {
OpenCPN-gshhs-intermediate_package() {
short_desc="${short_desc/Crude/Intermediate}"
archs=noarch
depends="OpenCPN-gshhs-low"
pkg_install() {
vmove usr/share/opencpn/gshhs/poly-i-1.dat
@ -41,7 +38,6 @@ OpenCPN-gshhs-intermediate_package() {
OpenCPN-gshhs-high_package() {
short_desc="${short_desc/Crude/High}"
archs=noarch
depends="OpenCPN-gshhs-intermediate"
pkg_install() {
vmove usr/share/opencpn/gshhs/poly-h-1.dat
@ -52,7 +48,6 @@ OpenCPN-gshhs-high_package() {
OpenCPN-gshhs-full_package() {
short_desc="${short_desc/Crude/Full}"
archs=noarch
depends="OpenCPN-gshhs-high"
pkg_install() {
vmove usr/share/opencpn/gshhs/poly-f-1.dat