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

                                                   
             
        

                                                         
          
                                  

                                       
                                       
                                                                                     
 




                       

         
                      



                                 
                                  

                                                


           
                      
                                         

 
                                                                                                                                                                     
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libpaper
pkgver=1.1.28
pkgrel=0
pkgdesc="Library for handling paper characteristics"
url="http://packages.debian.org/unstable/source/libpaper"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0-only"
makedepends="automake autoconf libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.debian.org/debian/pool/main/libp/libpaper/libpaper_$pkgver.tar.gz"

prepare() {
	cd "$builddir"
	default_prepare
	autoreconf -fi
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static \
		--mandir="$pkgdir"/usr/share/man
	make
}

package() {
	cd "$builddir"
	make prefix="$pkgdir"/usr install
}

sha512sums="3bf6ebb0af89931d2f72ea4a09a7fa958b2facda5f238983ec7bac39652e08614b33f0de3af74a03457b2a4203eee4950bf18a4b726e79aa64093ace6a1fb0bc  libpaper_1.1.28.tar.gz"