diff options
-rw-r--r-- | user/libxrender/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/user/libxrender/APKBUILD b/user/libxrender/APKBUILD new file mode 100644 index 000000000..0f6978084 --- /dev/null +++ b/user/libxrender/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libxrender +pkgver=0.9.10 +pkgrel=2 +pkgdesc="X Rendering Extension client library" +url="https://www.X.Org/" +arch="all" +license="MIT" +depends="" +makedepends="libx11-dev util-macros xorgproto" +subpackages="$pkgname-dev $pkgname-doc" +source="https://www.X.Org/releases/individual/lib/libXrender-$pkgver.tar.bz2" +builddir="$srcdir"/libXrender-$pkgver + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="16ea0cf638b32d7df54b270457ef8c9d9a80da27fa845b105b560cb31027b4c7fe799cf23d6b6bac492be5961264e96d7845d316a9af4de9ff38bf40885ea6fe libXrender-0.9.10.tar.bz2" |