aboutsummaryrefslogblamecommitdiffstats
path: root/main/iso-codes/APKBUILD
blob: 18e9164f50b3fa0eca36876212563dae5fc7db8e (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
            

                                          
                                                       
             
                           
                                        
                             
                                                                                          
         
                     
                               
                                 




                             
                                 


           
                                                                      
 
 
                                                                                                                                                                          
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iso-codes
pkgver=4.5.0
pkgrel=0
pkgdesc="ISO codes and their translations"
url="https://salsa.debian.org/iso-codes-team/iso-codes"
arch="noarch"
license="LGPL-2.1-or-later"
subpackages="$pkgname-lang $pkgname-dev"
makedepends="python3 gettext"
source="http://http.debian.net/debian/pool/main/i/iso-codes/iso-codes_$pkgver.orig.tar.xz"
build() {
	./configure \
		--host=$CHOST \
		--build=$CBUILD \
		--prefix=/usr
	make
}

check() {
	make -C "$builddir" check
}

package() {
	make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install
}

sha512sums="2785d57c2ae2a2d494dd361613965f7e5004b87bb6da7d020914981c4cb0de275050e8e424e3cb467f1e56889cb0dd8d9b5f9456295b4382ed3e73ce3620891d  iso-codes_4.5.0.orig.tar.xz"