summaryrefslogblamecommitdiff
path: root/user/libxpm/APKBUILD
blob: f017ddb7a8133441a39b8a74acd62503cc383204 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                                 
             
        






                                                                         
                                                                        


                                 








                                 



                  
                                      

 
                                                                                                                                                                   
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxpm
pkgver=3.5.14
pkgrel=0
pkgdesc="X11 pixmap library"
url="https://www.X.Org/"
arch="all"
license="X11"
subpackages="$pkgname-dev $pkgname-doc"
depends=""
makedepends="libx11-dev libxext-dev libxt-dev util-linux-dev util-macros"
source="https://www.X.Org/releases/individual/lib/libXpm-$pkgver.tar.xz"
builddir="$srcdir"/libXpm-$pkgver

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

check() {
	make check
}

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

sha512sums="c3fe554453068a6b188d3cad2cb3648e84b7f1909aea8f213daadce3d444b34361c3b2edce14a4fd481f97e4dc45c3125e2483ff4f44b3390a75829ed2782e4b  libXpm-3.5.14.tar.xz"