summaryrefslogtreecommitdiff
path: root/user/libxpm/APKBUILD
blob: 364f20b3d39f474bd153a9d8d6f1c163721e3573 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxpm
pkgver=3.5.13
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.bz2"
builddir="$srcdir"/libXpm-$pkgver

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

check() {
	make check
}

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

sha512sums="3b8f6e926272f39b1d95135c2274c00f5aaee1f9fb2ef79f71628df5edeb7ba20158819ef6a778101cc4092493a3b5b613c53634fdccadcc0fc85f0605e5e9a5  libXpm-3.5.13.tar.bz2"