aboutsummaryrefslogtreecommitdiffstats
path: root/main/libpciaccess/APKBUILD
blob: 45f74f46fb61c91d14ff6b11a16638c2ec1b992f (plain)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libpciaccess
pkgver=0.13.2
pkgrel=0
pkgdesc="X11 PCI access library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="pkgconfig"
source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr || return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="b7c0d3afce14eedca57312a3141ec13a  libpciaccess-0.13.2.tar.bz2"
sha256sums="abab8c2b050afb89bc29280e9c6b50ec5867174960d88bfb81a01036ec20de19  libpciaccess-0.13.2.tar.bz2"
sha512sums="312d891c1337256c9aeeda2c743907ce8c51444a165a97d2007fd2f8d05cafab37cf16e85288244490e514bcfbd7ba050d985130efe3dc2f6ed316dd46e6ad1d  libpciaccess-0.13.2.tar.bz2"