aboutsummaryrefslogblamecommitdiffstats
path: root/main/pwgen/APKBUILD
blob: bf1f6c38e92c7f47806d100582440102cb412b0d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                     
             
           
        
                              
                                    
          


                                
                          




                                                                                     
 
         



                                 

                                         
                                           
            


           
                                      

 
                                                                                                                                                                
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=pwgen
pkgver=2.08
pkgrel=1
pkgdesc="A Password Generator"
url="https://github.com/tytso/pwgen"
arch="all"
license="GPL-2.0-only"
options="!check" # no test suite
makedepends="autoconf"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/tytso/pwgen/archive/v2.08.tar.gz"

prepare() {
	autoconf
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="cef7860c820ab1b069fbba53c1c85d6fa23bba67b0f0befdcca95d5f6c7aa09673b4777fb5ac8eca012ba939e2486a740c72109a9692314a677eb5c5da47f3f3  pwgen-2.08.tar.gz"