summaryrefslogblamecommitdiff
path: root/user/iso-codes/APKBUILD
blob: 896a990a4bf27709184a4bd5fc48e83bf46bef91 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                 
          
                                                        
                                                       



                                        
                                                                                                                      
         






                                 


                  

                                                                      
                                                                                                                                                                              
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=iso-codes
pkgver=4.4
pkgrel=0
pkgdesc="Lists of country, language, and currency names"
url="https://salsa.debian.org/iso-codes-team/iso-codes"
arch="noarch"
license="LGPL-2.1+"
depends=""
makedepends="python3"
subpackages="$pkgname-lang $pkgname-dev"
source="https://salsa.debian.org/iso-codes-team/$pkgname/-/archive/$pkgname-$pkgver/$pkgname-$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

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

sha512sums="fecb169889e86e87fa90b9ffbbb79d12d4ce4f0ea7b4f699b2ff978f88bdbb790e5b37120d9b696fb13db56845727b6ff102049878e06bbc26b258214eeb3c05  iso-codes-iso-codes-4.4.tar.bz2"