aboutsummaryrefslogblamecommitdiffstats
path: root/main/libsecret/APKBUILD
blob: 63cd209510ee917058a63d1ffe224a9e1b572f75 (plain) (tree)
1
2
3
4
5
6
7
8

                                                   
             
        
                                                                        
                                               
          
                           


                                                                     
                                                                                           

         



                                 



                                           
            


           
                                      

 





                                                      
 

                                                                                                                                                                      
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsecret
pkgver=0.18.8
pkgrel=1
pkgdesc="Library for storing and retrieving passwords and other secrets"
url="https://wiki.gnome.org/Projects/Libsecret"
arch="all"
license="LGPL-2.0-or-later"
makedepends="glib-dev intltool libxslt-dev docbook-xsl libgcrypt-dev
	gobject-introspection-dev vala"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/libsecret/${pkgver%.*}/libsecret-$pkgver.tar.xz"

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

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

static() {
	pkgdesc="Static files for $pkgname"

	mkdir -p "$subpkgdir"/usr/lib
	mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/
	chmod -x "$subpkgdir"/usr/lib/*.a
}

sha512sums="9e2ec8d458af6ed078bf3c6d956599f73f2cc7720332c424e9aede1f77f3d969c5122cf7b70899bc07ad96a3a628bf79bc5fffa88274d1ef2bcaaca6719f90d4  libsecret-0.18.8.tar.xz"