aboutsummaryrefslogblamecommitdiffstats
path: root/main/libgcab/APKBUILD
blob: 95ac6bd2a56d510049e95b28eff7be8f6a207f86 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                           
        


                                                   
                           

                         

                                           
                                         

                                                     
                                                                                 

                       

                               




                        

                      


                               





                      






                                      

                                                                                                                                                             
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libgcab
pkgver=0.7
pkgrel=2
pkgdesc="A GObject library to create cabinet files"
url=" https://wiki.gnome.org/msitools"
arch="all"
license="LGPL-2.0-or-later"
depends=""
depends_dev="gettext-dev"
makedepends="$depends_dev automake autoconf
	libtool gobject-introspection-dev
	intltool glib-dev gtk-doc py-six"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gcab/${pkgver:0:4}/gcab-$pkgver.tar.xz
        configure.patch
       "
builddir="$srcdir"/gcab-$pkgver

prepare() {
	default_prepare
	autoreconf -f -i
}

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		 --disable-nls
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="db8c0b4ee2bc75b8bb540b4fe0e9304782b9848b3ab0ba3077638d13cdec652f6178206ec6474af036fba90e952ef0052dd9d19be9eb72bae97d98f8f18a0c02  gcab-0.7.tar.xz
110fe07dcc3fceffd174d6dd417e2906e63ad7ba4021ceae9d6c6b660a483e68530223c6bc65ae98a448b756930904c9bb320e0d8ed3a17f895d6986e90d3203  configure.patch"