diff options
-rw-r--r-- | main/libepoxy/APKBUILD | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/main/libepoxy/APKBUILD b/main/libepoxy/APKBUILD index 1ef4b793ce..d4fde0c84c 100644 --- a/main/libepoxy/APKBUILD +++ b/main/libepoxy/APKBUILD @@ -2,28 +2,22 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libepoxy pkgver=1.4.3 -pkgrel=0 +pkgrel=1 pkgdesc="Direct Rendering Manager runtime library" url="http://github.com/anholt/libepoxy" arch="all" license="MIT" +options="!check" # Requires dlvsym depends="" depends_dev="libx11-dev mesa-dev" -makedepends="$depends_dev autoconf automake libtool util-macros python2" +makedepends="$depends_dev autoconf automake libtool util-macros python3" install="" subpackages="$pkgname-dev" -source="libepoxy-$pkgver.tar.gz::https://codeload.github.com/anholt/libepoxy/tar.gz/v$pkgver" source="https://github.com/anholt/libepoxy/releases/download/$pkgver/libepoxy-$pkgver.tar.xz" -builddir="$srcdir"/libepoxy-$pkgver prepare() { - local i cd "$builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + default_prepare autoreconf -vif } @@ -35,14 +29,18 @@ build() { --prefix=/usr \ --mandir=/usr/share/man \ --disable-static \ - --enable-shared \ - || return 1 - make || return 1 + --enable-shared + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make install DESTDIR="$pkgdir" || return 1 + make install DESTDIR="$pkgdir" } sha512sums="f5d9fc74b062a0a90aea3abd7621ee4e2e27db359b82cacfbc8df64bceb4b7e4910755a078b46793b25e89d2e87ecb75556313dbad986aa4346f763dd43d2749 libepoxy-1.4.3.tar.xz" |