aboutsummaryrefslogblamecommitdiffstats
path: root/community/gnumeric/APKBUILD
blob: 1392ea720885b397655914bd08e3a67b44513495 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
              
        

                                            
          
                                              
                                                                       
                                                                  
                                                
                                                     
                                                                                        

                                          
                                   
 
           
                       
                       

 
         
                      



                                 

                                      
                                  

                             


           
                      
                                      
 
 
 
                                                                                                                                                                     
                                                                                                                                                                     
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnumeric
pkgver=1.12.43
pkgrel=0
pkgdesc="GNOME Spreadsheet Program"
url="http://www.gnome.org/projects/gnumeric"
arch="all"
license="GPL-2.0-or-later OR GPL-3.0-or-later"
makedepends="gtk+3.0-dev intltool desktop-file-utils goffice-dev rarian
	python2-dev py-gobject3-dev libxslt-dev bison flex itstool
	libxml2-utils autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
	unbreak-build-by-skipping-cs.patch
	"
builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	default_prepare
	autoreconf -vif
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		--with-python
	make
}

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


sha512sums="d2702000e6c4f4c0c7ff442a2b81e10f4d55f0cffbf7b7f1e7c9fed98fb46172b0118ca05102aa53fb4f953799e2be3534f0518b025ece26647ce67b870a34a7  gnumeric-1.12.43.tar.xz
8162b0901e7acf586f4f5be103e2507c17da38ef4e22ce98011dba076de14ea819d346d11917d4d5c70c328b876d890bad2d6b3cede793d218033a59853a0d81  unbreak-build-by-skipping-cs.patch"