diff options
-rw-r--r-- | main/wayland/APKBUILD | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/main/wayland/APKBUILD b/main/wayland/APKBUILD index 2d8d61ed0a..bce275f073 100644 --- a/main/wayland/APKBUILD +++ b/main/wayland/APKBUILD @@ -2,33 +2,36 @@ # Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> pkgname=wayland -pkgver=1.4.0 +pkgver=1.5.0 pkgrel=0 pkgdesc='A computer display server protocol' arch=all url='http://wayland.freedesktop.org' license='MIT' depends= -makedepends='doxygen libffi-dev expat-dev findutils' +makedepends='doxygen libffi-dev expat-dev' subpackages="$pkgname-dev $pkgname-doc" source="http://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz" +_builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" - ./configure --prefix=/usr \ - --disable-static || return 1 - make || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static || return 1 + make || return 1 } package() { - cd "$srcdir"/$pkgname-$pkgver - - make DESTDIR="$pkgdir" install || return 1 - install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" - find "$pkgdir" -name \*.la -delete || return 1 + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + find "$pkgdir" -name \*.la -delete || return 1 } -md5sums="332cf9191837be12638a29265ed7cf46 wayland-1.4.0.tar.xz" -sha256sums="18f33b9f15b4c8b662fb1968e7636e7926b419dfc48de8a164b3a3d7095c5a58 wayland-1.4.0.tar.xz" -sha512sums="0d8af3780bd56062efda2fe92f54e61b8ad03b544a771ddd91971dfc461cf5a98845f94512bf96b8191a6e18ca2b50b77323d65a86a4a69aecd2ba1944113743 wayland-1.4.0.tar.xz" +md5sums="1d882776b27329b91d2d500b6d66dd1d wayland-1.5.0.tar.xz" +sha256sums="0069e1e9af888b3e05384380ad8cc6c976ea3e81d08ba19b7675ce1d693a41b5 wayland-1.5.0.tar.xz" +sha512sums="2b7d5f51e740d98488a59b0c477da39dd585ae1934a0720ad5d8d402026a31a964768ea583d2ecd0b59a4fbdaf224bd711d6a6e37ab83bf4b17e7fa5a248a783 wayland-1.5.0.tar.xz" |